-
Notifications
You must be signed in to change notification settings - Fork 11.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
[6.0] Limit PHPUnit to version 8.0 and above. #29285
Conversation
The changes has been done on `develop` branch for `laravel/laravel`. It is logical that we does this as well on `laravel/framework`.
Then we need to increment Edit: Nevermind, I missed that Laravel 5.9 already has |
Heya thanks. We made the change on the skeleton repo to encourage people to make use of the 8.0 release. But we'd like to keep using the ^7.5 constraint on the framework one for now to still test that PHPUnit version for the "lowest" build. PHPUnit 7 is still actively supported until february next year. We'll probably drop support for it in Laravel 7. |
@driesvints I don't see the value of testing against lower than 7.5 going to 5.9 or 6.0. It just means that whatever we doing with Based on travis-ci setup the core is now tested only against 7.5.0 and latest 8.x version. |
@crynobone right. But that's what I meant. We're still supporting PHPUnit ^7.5. Or did you mean something else? Seems like there's some confusion here? |
@crynobone I'll re-open this to see what Taylor says. |
|
@crynobone PHPUnit 7.5 supports 7.2. The version constraint you removed here was in |
Just fyi: because this was removed, the test suite didn't caught a breaking change with #30989 and PHPUnit 7 support is now broken for 6.x. I suggest we re-add this so the test suite actually runs PHPUnit 7 on the lowest matrix. |
laravel/laravel v6.0.0 comes with phpunit 8.0 as minimum. https://packagist.org/packages/laravel/laravel#v6.0.0 laravel/framework v6.0.0 comes with phpunit 8.3 as minimum. https://packagist.org/packages/laravel/framework#v6.0.0 Is there a reason why we need to readd PHPUnit 7 support? |
@crynobone Laravel 6 definitely kept on supporting PHPUnit 7. Like I said before: the versions you're linking to are "dev" requirements for the test suite and not "required" versions. We usually drop support for PHPUnit versions in February releases when PHPUnit has dropped support themselves. |
Then this shouldn't have happened. laravel/laravel@0582a20#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780 |
@crynobone yes it does. It's only on the Laravel skeleton to encourage people to start using PHPUnit 8 when they start with a fresh Laravel install. Versions in the composer file of the Laravel skeleton don't indicate minimum support of libraries. |
The changes has been done on
develop
branch forlaravel/laravel
. It is logical that we does this as well onlaravel/framework
.