Skip to content

Commit

Permalink
Disable trailing_comma_in_multiline rule
Browse files Browse the repository at this point in the history
Since PHP 7.2-7.4 is supported we can't use trailing commas in arguments, parameters and match. Enabling it only for arrays is against current coding standard used in the project.
  • Loading branch information
Wirone committed Aug 21, 2024
1 parent 1947ced commit 95e97d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
],
'concat_space' => ['spacing' => 'none'],
'method_argument_space' => ['on_multiline' => 'ignore'],
'trailing_comma_in_multiline' => false,
'visibility_required' => false,
])
->setFinder(
Expand Down

0 comments on commit 95e97d1

Please sign in to comment.