-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working with PHPUnit 6.5 #21
Milestone
Comments
malkusch
added a commit
that referenced
this issue
Dec 2, 2017
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
@malkusch any progress on it? |
Or maybe this could be part of PHPUnit 7.0 support (to be released February 2nd), so BC changes could be introduced? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, the library is not working with PHPUnit 6.5 (phpunit-mock-objects 5).
Results in:
Version of relevant installed packages:
phpunit/phpunit 6.5.1
phpunit/phpunit-mock-objects 5.0.3
php-mock/php-mock 2.0.0
php-mock/php-mock-integration 2.0.0
php-mock/php-mock-phpunit 2.0.0
May be related to sebastianbergmann/phpunit-mock-objects#388 ?
The text was updated successfully, but these errors were encountered: