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 1
1
language : php
2
2
3
3
php :
4
- - 7
5
- - 7.1
6
4
- 7.2
7
5
- 7.3
8
6
Original file line number Diff line number Diff line change 10
10
}
11
11
},
12
12
"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 "
15
15
}
16
16
}
Original file line number Diff line number Diff line change 4
4
use Codeception \Stub \ConsecutiveMap ;
5
5
use Codeception \Stub \StubMarshaler ;
6
6
use PHPUnit \Framework \MockObject \Generator ;
7
- use PHPUnit \Framework \MockObject \Matcher \AnyInvokedCount ;
7
+ use PHPUnit \Framework \MockObject \Rule \AnyInvokedCount ;
8
8
use PHPUnit \Framework \MockObject \Stub \ConsecutiveCalls ;
9
9
use PHPUnit \Framework \MockObject \Stub \ReturnCallback ;
10
10
use PHPUnit \Framework \MockObject \Stub \ReturnStub ;
Original file line number Diff line number Diff line change 2
2
3
3
namespace Codeception \Stub ;
4
4
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 ;
7
7
8
8
class Expected
9
9
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace Codeception \Stub ;
4
4
5
- use PHPUnit \Framework \MockObject \Matcher \ InvokedRecorder ;
5
+ use PHPUnit \Framework \MockObject \Rule \ InvocationOrder ;
6
6
7
7
/**
8
8
* Holds matcher and value of mocked method
@@ -13,7 +13,7 @@ class StubMarshaler
13
13
14
14
private $ methodValue ;
15
15
16
- public function __construct (InvokedRecorder $ matcher , $ value )
16
+ public function __construct (InvocationOrder $ matcher , $ value )
17
17
{
18
18
$ this ->methodMatcher = $ matcher ;
19
19
$ this ->methodValue = $ value ;
You can’t perform that action at this time.
0 commit comments