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
Drop support for Symfony v4 #6108
Conversation
Do we have an idea how many users are "stuck" on SF4 that (still) use the tool as a direct (dev) dependency in their composer.json? |
very good question, @SpacePossum .
|
I'm not sure dropping this adds much value. We don't have any 4.x specific work arounds in the codebase? |
during the last call, we decided to not include it in newest release that is adding support for PHP 8.1. |
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.
👍
This PR was squashed before being merged into the master branch (closes #6203). Discussion ---------- Bump required PHP to 7.4 After merge of this PR, merge #6108 also! ------- - ~5% of ppl (who are updating) would be affected: https://packagist.org/packages/friendsofphp/php-cs-fixer/php-stats#3.4 - best to review commit by commit -- update 70205 -- update 7.2.5 -- update Docker -- update CI Commits ------- c619e16 Bump required PHP to 7.4
Hi, Symfony v4.4 is an LTS and will be supported until EO 2022 (2023) |
v3 |
since it is merged now you can expect it in |
actually released as |
This seems to me to be a strange decision given that Symfony 4.4 is LTS and there are no Symfony 4.x-specific workarounds in the codebase that would benefit from this - which are both points raised by others above. I'm also not clear why this was so tightly coupled with the dropping of support for versions of PHP prior to 7.4. Symfony 4.4 supports PHP 7.4. I am not "stuck" on Symfony 4.4. I have made the deliberate decision to take advantage of the LTS period and not update Symfony yet. But that doesn't mean I'm not updating PHP-CS-Fixer along the way. |
Before this change, PHP CS Fixer supported a span of three Symfony major versions. That alone complicates the test matrix and makes developing new functionality tedious. It also prevented this project from taking advantage of Symfony 5 features until now. The reason behind Symfony's LTS period is to give everyone enough time to upgrade at their own pace. No downstream open-source project should feel obliged to support an LTS branch until the very last minute. Given that this project is maintained by a handfull of developers in their freetime, I find this change very reasonable.
Well and this project has made the deliberate decision to abandon Symfony 4.4. A perfectly valid decision which should be respected. PHP CS Fixer supports the current Symfony LTS which is 5.4, see https://symfony.com/releases. If you insist on staying on Symfony 4.4 (which is totally fine!), these are your options:
|
@GPHemsley-RELX , would you like to try shim package? |
No description provided.