Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
FIX PHPUNIT (404 Error when download phpunit)#29263
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
At this time, 5.7 ZIP return 404 error. So we can change to 5.7.26 ZIP.
4.8 -> 4.8.36
qlaffont-smiirl commentedNov 19, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Appveyor test doesn't work because it doesn't take the modification I have to do. |
l-vo commentedNov 20, 2018
I confirm the issue :( |
nicolas-grekas commentedNov 20, 2018
See#29264 |
| }elseif (PHP_VERSION_ID >=50600) { | ||
| // PHPUnit 4 does not support PHP 7 | ||
| $PHPUNIT_VERSION =getenv('SYMFONY_PHPUNIT_VERSION') ?:'5.7'; | ||
| $PHPUNIT_VERSION =getenv('SYMFONY_PHPUNIT_VERSION') ?:'5.7.26'; |
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.
6.5, 5.7 and 4.8 seem to be aliases for the latest patch versions. We can't fix it to a specific patch version (problem to maintain it). And maybe 4.8 and 5.7 aliases will be available again soon. What about use a fallback if the zip is not found and use github api for selecting the latest patch tag ?
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.
Let's try saving us from any additional complexity.
Let's lobbysebastianbergmann/phpunit#3413
nicolas-grekas commentedNov 20, 2018
Reported insebastianbergmann/phpunit#3413 |
tonivdv commentedNov 20, 2018
I fixed this issue (but for php >=7.2) by changing the env SYMFONY_PHPUNIT_VERSION from 7.2 to 7.4 in bin/phpunit file. I guess this is what needs to be done in the bridge ... aligning the valid versions according to the php versions?! |
qlaffont-smiirl commentedNov 20, 2018
Yes me too, I have set the env var SYMFONY_PHPUNIT_VERSION and it solve the problem. But we need to change it on the file for default env. |
qlaffont-smiirl commentedNov 20, 2018
@nicolas-grekas , the author answer it. Can we merge it ? |
stof commentedNov 20, 2018
A solution might be to switch to |
nicolas-grekas commentedNov 20, 2018
nicolas-grekas commentedNov 20, 2018
Closing in favor of#29265 |
…-grekas)This PR was merged into the 3.4 branch.Discussion----------[Bridge/PhpUnit] Use composer to download phpunit| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#27753,#29263,#29264| License | MIT| Doc PR | -Commits-------e823f1d [Bridge/PhpUnit] Use composer to download phpunit
Uh oh!
There was an error while loading.Please reload this page.
At this time, 5.7 & 4.8 ZIP return 404 error. So we can change to 5.7.26 & 4.8.36 ZIP.