-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
incompatibility with PHP_Timer #3008
Comments
Solution for sad users of affected legacy PHPUnit versions: add to your
this will basically make PHPUnit reuirement of php-timer to be ^1, like it is in other PHPUnit versions |
PHPUnit 4.7 unfortunately has You also mention PHPUnit 5.0, PHPUnit 5.1, and PHPUnit 5.2. All these versions have What do you expect me to do here? Release a new version of PHPUnit 4.7 that has an updated |
no, PHP Timer has just been release, the release fact brought issue to legacy PHPUnit that I hit hard at my company and side projects, so purpose of this thread was to raise issue (so it could be found by users who also hit it) and provide possible workaround. As I said in initial post, I don't expect new release of phpunit 4/5. Thanks! |
~4.7.0 || ~5.0.0 || ~5.1.0 || ~5.2.0
PHP Timer v2 has been released. It is incompatible with mentioned PHPUnit, as PHPUnit with given version requires...
>= 1
instead of^1
. For that, any new installation of that PHPUnit (in legacy project) will crash during execution with:https://travis-ci.org/PHPUnitGoodPractices/Traits/jobs/341148960#L978
It will hit especially legacy PHP projects that cannot afford upgrading PHPUnit directly.
Yes, I do know that this will be taken as issue of not-maintained version and for that could be closed out of the box, yet it's in the end issue that php-timer major has been just released.
The text was updated successfully, but these errors were encountered: