Uh oh!
There was an error while loading. Please reload this page.
Enhancement: Enable trailing_comma_in_multiline fixer - #647
Merged
Girgias merged 2 commits intoDec 6, 2023
Conversation
localheinzforce-pushed
the
feature/trailing-comma-in-multiline
branch
2 times, most recently
from
July 12, 2022 11:36
5d74c84 to
81ae171Comparecmb69
reviewed
Jul 12, 2022
Uh oh!
There was an error while loading. Please reload this page.
2 tasks
localheinzforce-pushed
the
feature/trailing-comma-in-multiline
branch
from
August 22, 2022 17:20
afbb9df to
8d02eaeComparederickr
commented
Nov 29, 2023
Member
This has many conflicts. |
localheinzforce-pushed
the
feature/trailing-comma-in-multiline
branch
from
December 5, 2023 12:29
dea508a to
02d44ebComparelocalheinz
commented
Dec 5, 2023
ContributorAuthor
Rebased! |
Girgias
reviewed
Dec 6, 2023
Uh oh!
There was an error while loading. Please reload this page.
Girgias
reviewed
Dec 6, 2023
Girgias
left a comment
Member
There was a problem hiding this comment.
Mostly LGTM, just a couple of questions
localheinzforce-pushed
the
feature/trailing-comma-in-multiline
branch
from
December 6, 2023 13:52
c48e3f1 to
76baa32CompareGirgias
commented
Dec 6, 2023
Member
Needs a rebase again |
localheinzforce-pushed
the
feature/trailing-comma-in-multiline
branch
from
December 6, 2023 20:31
c29855a to
f07cfcbComparelocalheinz
commented
Dec 6, 2023
ContributorAuthor
Rebased, @Girgias! |
localheinz
commented
Dec 6, 2023
| 'trailing_comma_in_multiline' => [ | ||
| 'elements' => [ | ||
| 'arguments', | ||
| 'arrays', |
ContributorAuthor
There was a problem hiding this comment.
Since we use PHP 8.2 now, we could also add
matchparameters
to the elements option.
Member
There was a problem hiding this comment.
I think this probably makes sense as a follow-up PR to not clog this up any longer
localheinz
commented
Dec 7, 2023
ContributorAuthor
Thank you, @cmb69, @derickr, @Girgias, and @saundefined! |
Merged
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request
trailing_comma_in_multilinefixermake coding-standardsFollows #559.
💁♂️ For reference, see https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v3.40.2/doc/rules/control_structure/trailing_comma_in_multiline.rst.