-
Notifications
You must be signed in to change notification settings - Fork 44
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
PHP Fatal error setUp() #79
Comments
To fix this we need to rename all If there are PRs are welcome. I'm not sure though if PHPUnit 9.x is used in the GitHub Actions workflow. |
Wouldn't be all to add only |
That won't work in PHP 5.x, which we support. The PHPUnit changes public method signatures quite often (almost every major release). We can't keep up with that. Using an annotation-based approach ensures, that the test suite will be compatible with every future major PHPUnit release. |
Maybe the way is to create separate branch for EOL versions of PHP and for present one. In that way we have newest features in new one branch and ald ones for obsolete/abandoned ones. |
@LocalHeroPro , Thanks for the suggestions, I'll take this into consideration. For now please do as explained in the #79 (comment) comment. |
Fixed in #82 . |
Steps to reproduce:
hamcrest/hamcrest-php: v2.0.1
PHPUnit: 9.5.25
Xdebug v3.1.5
PHP: 8.1.10
The text was updated successfully, but these errors were encountered: