-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Doesn't work with legacy versions of PHPUnit #171
Comments
Hey @nikrolls What version of PHPUnit are you using? We have gone to great lengths to maintain support as far back as possible, but at some point we need to make a decision just how far back we can realistically support I would be happy to take a look at this, but no promises. |
@mikeerickson In this case I'm using PHPUnit 5.7 (sorry about that - the framework I'm using will update soon but hasn't yet) on PHP 7.4. There are other issues with PHPUnit 5.7 - even when I make the changes I've suggested it still doesn't work - but in this issue I'm focusing solely on the logistical issues in |
@nikrolls ya, I am aware of what needs to new done, just hard to support so many versions of PHPUnit as they have a tendency to make these radical changes between releases. This will likely be a one of change to address your specific problem. I will make time this coming week as I have slowed down a bit for thanksgiving and taking a bit of time off from my day job to refuel. But, I will get it addressed for you. |
No worries, no rush! If I get a chance I will raise some PRs, but I can't promise anything 😁 Just wanted to make sure it was recorded. |
If you have the time, feel free. Otherwise I will get it knocked within the next week. |
The unguarded references to
PHPUnit\Runner\Version
insrc/Printer.php
mean that this doesn't work with any version of PHPUnit before the namespace refactor. Understandably this is a pretty old version and most people shouldn't be running it, but this as module appears to support it elsewhere this should be fixed by wrapping them in aclass_exists
check.The text was updated successfully, but these errors were encountered: