File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 34
34
"infection/infection" : " ^0.29.6" ,
35
35
"phpstan/extension-installer" : " ^1.4" ,
36
36
"phpstan/phpstan" : " 1.11.10" ,
37
- "phpunit/phpunit" : " ^10.5" ,
37
+ "phpunit/phpunit" : " ^10.5 || ^11.3 " ,
38
38
"rector/rector" : " 1.2.3" ,
39
39
"symplify/phpstan-rules" : " ^13.0" ,
40
40
"tomasvotruba/cognitive-complexity" : " ^0.2.3"
Original file line number Diff line number Diff line change @@ -27,10 +27,7 @@ class ClientDecoratorTest extends TestCase
27
27
protected function setUp (): void
28
28
{
29
29
$ this ->client = $ this ->createMock (ClientInterface::class);
30
- $ this ->subject = $ this ->getMockForAbstractClass (
31
- ClientDecorator::class,
32
- [$ this ->client ],
33
- );
30
+ $ this ->subject = new class ($ this ->client ) extends ClientDecorator {};
34
31
}
35
32
36
33
#[Test]
You can’t perform that action at this time.
0 commit comments