-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Bump to PHP 7.2, stick to phpunit 8.5 #492
Conversation
9a4f5b9
to
6b33d14
Compare
What has changed since #428? From Symfony's PoV, taking into account that the active maintenance of the 5.4 branch will end about two months from now, we might as well wait a little longer and bump to PHP 8.1 directly. |
I made this PR after realizing that #486 was required because on PHP 7.1 we have to use var-dumper 4.4, which didn't get the fixes for nullable arguments. PHP 8.1 is too early IMHO, at least I don't see similar arguments. |
If PHP 7.1 support really blocks our CI, go ahead then. But please, let's do one release of
Let's revisit that topic in December or January. 🙂 |
why did we do this? what's the benefit? |
If you're on PHP >= 7.2, but one of your dependency's dependencies requires the polyfill, you get a package with zero overhead. Once we tagged a new release this way, we can still remove the package from the monorepo. |
6b33d14
to
2043b0f
Compare
Got it, thanks. PR updated. |
This PR was merged into the 1.x branch. Discussion ---------- Remove src/Php72 Follows #492 (comment) We can stop subtree-splitting symfony/polyfill-php72 Commits ------- c5eab85 Remove src/Php72
I think it's start to shade PHP 7.1 out. Of course the polyfill will be kept functional, but we won't care about it anymore from a maintenance PoV.
Sticking to phpunit 8.5 so that we can focus on one version of it, and because it has lifetime support and PHP 7.2 as a minimum version.