-
Notifications
You must be signed in to change notification settings - Fork 92
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
PHPUnit 7.1.3 PactTestListener::addError declaration incompatible issue #79
Comments
I"m using |
I validated this. It appears we run on PHPUnit 6.X but not 7.X without changes.
PHP Version: 7.2.1 |
Funny enough, the PHPUnit 7.1 documetation says to use \Exception, rather than \Throwable But the code (https://github.com/sebastianbergmann/phpunit/blob/d96549ddd7925645d069de0bdd786fb365c0c372/src/Framework/TestListener.php#L20) says Throwable. Here is the change in PHPUnit: sebastianbergmann/phpunit#2566 |
I merged this into dev-master. Because this requires an upgrade to PHP (7.1) and a major upgraded of PHPUnit 7.X, PactPHP will become 4.0.0. I'd love your feedback. |
I'm using phpunit 7.1.3, when setup the default PHPUnit listener in phpunit.xml. phpunit running failed because of addError declaration.
The text was updated successfully, but these errors were encountered: