-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[PhpUnitBridge] Allow configuring removed deps and phpunit versions #20256
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
There is probably a doc to update somewhere, right? |
@@ -16,7 +16,7 @@ | |||
error_reporting(-1); | |||
|
|||
// PHPUnit 4.8 does not support PHP 7, while 5.1 requires PHP 5.6+ | |||
$PHPUNIT_VERSION = PHP_VERSION_ID >= 50600 ? '5.1' : '4.8'; |
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.
I suggest using 5.3 rather than 5.1, as 5.1 is EOLed (and then, we should start working on making our testsuite compatible with 5.4+ to use supported PHPunit versions)
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.
Updated to 5.3, all good.
34add38
to
75449c5
Compare
Just tried with phpunit 5.3, I have a failure locally. |
Failing test spotted, fixed in #20265 |
75449c5
to
fb1c5b8
Compare
Thank you @nicolas-grekas. |
…unit versions (nicolas-grekas) This PR was merged into the 3.2-dev branch. Discussion ---------- [PhpUnitBridge] Allow configuring removed deps and phpunit versions | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | - | License | MIT | Doc PR | symfony/symfony-docs#7074 Allowing greater reuse of the wrapper. Commits ------- fb1c5b8 [PhpUnitBridge] Allow configuring removed deps and phpunit versions
…iguration env vars (nicolas-grekas) This PR was merged into the master branch. Discussion ---------- [PhpUnitBridge] Doc for @expectedDeprecation & new configuration env vars Related to symfony/symfony#20255 & symfony/symfony#20256 Commits ------- a1682de [PhpUnitBridge] Doc for @expectedDeprecation & new configuration env vars
Allowing greater reuse of the wrapper.