Skip to content

Commit b42fc41

Browse files
committed
Exclude PHPUnit-6.5
PHPUnit-6.5 did change the signature of TestCase::getMockBuilder() by returning an object from phpunit-mock-object-5 instead of phpunit-mock-object-4. This broke this library: PHP Fatal error: Interface 'PHPUnit_Framework_MockObject_Matcher_Invocation' not found in /.../vendor/php-mock/php-mock-phpunit/classes/DefaultArgumentRemover.php on line 15 This commit adds a <phpunit-6.5 constraint to fix the current release. PHPUnit-6.5 is currently not supported by this library. I wait for sebastianbergmann/phpunit#2893 to decide how to support PHPUnit-6.5. See also: #21 See also: sebastianbergmann/phpunit#2893
1 parent 8185c11 commit b42fc41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"require": {
2020
"php": ">=7",
21-
"phpunit/phpunit": "^6",
21+
"phpunit/phpunit": "^6 <6.5",
2222
"php-mock/php-mock-integration": "^2"
2323
},
2424
"archive": {

0 commit comments

Comments
 (0)