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
feat: update Symfony.trailing_comma_in_multiline
config
#7825
base: master
Are you sure you want to change the base?
Conversation
Hi @seb-jean, is this change approved by Symfony maintainers? Or maybe there's some conversation about it? Anyway, as you can see it fails because we still support PHP 7.4 and trailing comma in function parameters' list is supported from 8.0 up. |
This is to have the same value as https://github.com/symfony/symfony/blob/7.1/.php-cs-fixer.dist.php#L43 |
But Symfony 7.1 requires a higher PHP version and can have this in local config, while it can't be added as-is to the ruleset in this repository because it's tested on 7.4-8.4. You need to make conditional rules, adding @nicolas-grekas are you OK with this change? |
Yes, this changes makes sense (but I didn't think about the PHP-version issue - maybe "parameters" should be turned on only on PHP 8 that's what you mean?) |
Yes, exactly, it should be dynamic, based on PHP version. Thanks @nicolas-grekas for confirming 🙂. @seb-jean are you going to make CI green? |
I do not know how to do. Sorry. |
@seb-jean you should:
|
No description provided.