Skip to content

Commit 4594329

Browse files
committed
Solved all compatibility issues with PHPUnit 8.4
1 parent 61217e5 commit 4594329

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
language: php
22

33
php:
4-
- 7
5-
- 7.1
64
- 7.2
75
- 7.3
86

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
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
}

src/Stub/Expected.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace 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

88
class Expected
99
{

src/Stub/StubMarshaler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace 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;

0 commit comments

Comments
 (0)