Skip to content

Commit

Permalink
Add trailing_comma_in_multiline to .php-cs-fixer.dist.php (#4001)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilbourne authored Jan 16, 2025
1 parent 16cb357 commit f0320fa
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 @@ -9,5 +9,6 @@
return (new PhpCsFixer\Config())
->setRules([
'@PER-CS' => true,
'trailing_comma_in_multiline' => ['elements' => ['arguments', 'array_destructuring', 'arrays']], // For PHP 7.4 compatibility
])
->setFinder($finder);

0 comments on commit f0320fa

Please sign in to comment.