-
-
Notifications
You must be signed in to change notification settings - Fork 60
Forward compatibility with PHPUnit 6 #85
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
Conversation
Ok, we are facing some issues with this update. I have some solutions, and I want your opinion:
|
@Gabriel-Caruso Thanks for keeping up with this! I've updated reactphp/socket#133 to add a very simple BC layer to support all PHPUnit versions, perhaps you can look into implementing a similar logic here? 👍 |
@clue Actually, no, because there's no |
@Gabriel-Caruso Not sure I follow, have you seen the |
@clue Done, everything is working now 🎉 |
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.
Thanks for keeping up with this, changes LGTM! 👍
Anything else that should be done here? |
Nope LGTM 👍 |
As did in others Reactphp repos, I use the
PHPUnit\Framework\TestCase
notation instead ofPHPUnit_Framework_TestCase
while extending our TestCases. This helped us migrate to PHPUnit 6, that no longer support snake case class names.I just need to bump PHPUnit version to
^4.8.35
and^5.7
, that support this namespace.