File tree Expand file tree Collapse file tree 5 files changed +7
-9
lines changed Expand file tree Collapse file tree 5 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 11language : php
22
33php :
4- - 7
5- - 7.1
64 - 7.2
75 - 7.3
86
Original file line number Diff line number Diff line change 1010 }
1111 },
1212 "require" : {
13- "codeception/phpunit-wrapper" : " ^6.6.1 | ^7.7.1 | ^ 8.0.3 " ,
14- "phpunit/phpunit" : " >=6.5 <9.0 "
13+ "codeception/phpunit-wrapper" : " ^8.0.4 " ,
14+ "phpunit/phpunit" : " ^8.4 "
1515 }
1616}
Original file line number Diff line number Diff line change 44use Codeception \Stub \ConsecutiveMap ;
55use Codeception \Stub \StubMarshaler ;
66use PHPUnit \Framework \MockObject \Generator ;
7- use PHPUnit \Framework \MockObject \Matcher \AnyInvokedCount ;
7+ use PHPUnit \Framework \MockObject \Rule \AnyInvokedCount ;
88use PHPUnit \Framework \MockObject \Stub \ConsecutiveCalls ;
99use PHPUnit \Framework \MockObject \Stub \ReturnCallback ;
1010use PHPUnit \Framework \MockObject \Stub \ReturnStub ;
Original file line number Diff line number Diff line change 22
33namespace Codeception \Stub ;
44
5- use PHPUnit \Framework \MockObject \Matcher \InvokedAtLeastOnce ;
6- use PHPUnit \Framework \MockObject \Matcher \InvokedCount ;
5+ use PHPUnit \Framework \MockObject \Rule \InvokedAtLeastOnce ;
6+ use PHPUnit \Framework \MockObject \Rule \InvokedCount ;
77
88class Expected
99{
Original file line number Diff line number Diff line change 22
33namespace Codeception \Stub ;
44
5- use PHPUnit \Framework \MockObject \Matcher \ InvokedRecorder ;
5+ use PHPUnit \Framework \MockObject \Rule \ InvocationOrder ;
66
77/**
88 * Holds matcher and value of mocked method
@@ -13,7 +13,7 @@ class StubMarshaler
1313
1414 private $ methodValue ;
1515
16- public function __construct (InvokedRecorder $ matcher , $ value )
16+ public function __construct (InvocationOrder $ matcher , $ value )
1717 {
1818 $ this ->methodMatcher = $ matcher ;
1919 $ this ->methodValue = $ value ;
You can’t perform that action at this time.
0 commit comments