File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1212 phpunit:
1313 version: ^1.0
1414 signed: false
15+ requirements:
16+ phpunit:
17+ version: ^11.5.48
1518 psalm:
1619 version: ^1.0
1720 signed: false
5558 - A978220305CD5C32
5659 - 689DAD778FF08760E046228BA978220305CD5C32
5760 - 97B02DD8E5071466
61+ - D91D86963AF3A29B6520462297B02DD8E5071466
5862 # Composer normalize
5963 - C00543248C87FB13
6064 - 0FDE18AE1D09E19F60F6B1CBC00543248C87FB13
Original file line number Diff line number Diff line change @@ -67,7 +67,10 @@ public function testNewInstance(): void
6767 $ widget
6868 ->expects (self ::any ())
6969 ->method ('import ' )
70- ->withConsecutive ([Config::class, 'Config ' ]);
70+ ->willReturnCallback (function ($ parameters ) {
71+ $ this ->assertInstanceof (Config::class, $ parameters [0 ]);
72+ $ this ->assertSame ('Config ' , $ parameters [1 ]);
73+ });
7174
7275 self ::assertEmpty ($ widget ->getAttributes ());
7376 }
You can’t perform that action at this time.
0 commit comments