File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 "require" : {
77 "php" : " ^8.0" ,
88 "qratorlabs/smocky" : " ^1.2" ,
9- "phpunit/phpunit" : " ^12.5 .0"
9+ "phpunit/phpunit" : " ^13.0 .0"
1010 },
1111 "require-dev" : {
1212 "squizlabs/php_codesniffer" : " ^3.12" ,
Original file line number Diff line number Diff line change 44
55namespace QratorLabs \SmockyPHPUnit ;
66
7- use PHPUnit \Framework \MockObject \InvocationStubber ;
7+ use PHPUnit \Framework \MockObject \InvocationMocker ;
88use PHPUnit \Framework \MockObject \MockObject ;
99use PHPUnit \Framework \MockObject \Rule \InvocationOrder ;
1010use PHPUnit \Framework \TestCase ;
1313
1414class MockedMethod extends AbstractMocked
1515{
16- private InvocationStubber $ invocationMocker ;
16+ private InvocationMocker $ invocationMocker ;
1717 private MockObject $ mockObject ;
1818 private MockedClassMethod $ mockedMethod ;
1919
@@ -69,7 +69,7 @@ public function callOriginalStatic(mixed ...$args): mixed
6969 return $ this ->mockedMethod ->callOriginalStatic (...$ args );
7070 }
7171
72- public function getMocker (): InvocationStubber
72+ public function getMocker (): InvocationMocker
7373 {
7474 return $ this ->invocationMocker ;
7575 }
You can’t perform that action at this time.
0 commit comments