-
Notifications
You must be signed in to change notification settings - Fork 553
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
Enhancement: Enable trailing_comma_in_multiline
fixer
#647
Enhancement: Enable trailing_comma_in_multiline
fixer
#647
Conversation
5d74c84
to
81ae171
Compare
afbb9df
to
8d02eae
Compare
This has many conflicts. |
dea508a
to
02d44eb
Compare
Rebased! |
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.
Mostly LGTM, just a couple of questions
c48e3f1
to
76baa32
Compare
Needs a rebase again |
c29855a
to
f07cfcb
Compare
Rebased, @Girgias! |
'trailing_comma_in_multiline' => [ | ||
'elements' => [ | ||
'arguments', | ||
'arrays', |
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.
Since we use PHP 8.2 now, we could also add
match
parameters
to the elements
option.
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.
I think this probably makes sense as a follow-up PR to not clog this up any longer
Thank you, @cmb69, @derickr, @Girgias, and @saundefined! |
This pull request
trailing_comma_in_multiline
fixermake coding-standards
Follows #559.
💁♂️ For reference, see https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v3.40.2/doc/rules/control_structure/trailing_comma_in_multiline.rst.