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
Add support for PHPUnit 8.0 #942
Conversation
@@ -22,19 +22,37 @@ | |||
|
|||
use Mockery; | |||
|
|||
if (\PHP_VERSION_ID < 70000) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might break existing PHPUnit 6 and 7 tests, PHPUnit 8+ should be explicitly targeted instead.
@@ -20,7 +20,44 @@ | |||
|
|||
namespace Mockery\Adapter\Phpunit; | |||
|
|||
if (\PHP_VERSION_ID < 70000) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might break existing PHPUnit 6 and 7 tests, PHPUnit 8+ should be explicitly targeted instead.
86fe6a2
to
be0339e
Compare
I have updated the PR to get rid of the PHPUnit 8 deprecation warnings, CI looks happy now. |
Thank you, appreciate the effort here. |
@davedevelopment Hi, any chance to have release soon? Thanks |
Cool, thanks for update 👍 |
@davedevelopment appreciated 👌 |
I did not deal with deprecation notices related to the usage of the
@expectedException
annotation. If you feel it should be done here, I can update the PR.