Skip to content

Commit f0320fa

Browse files
authored
Add trailing_comma_in_multiline to .php-cs-fixer.dist.php (#4001)
1 parent 16cb357 commit f0320fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
return (new PhpCsFixer\Config())
1010
->setRules([
1111
'@PER-CS' => true,
12+
'trailing_comma_in_multiline' => ['elements' => ['arguments', 'array_destructuring', 'arrays']], // For PHP 7.4 compatibility
1213
])
1314
->setFinder($finder);

0 commit comments

Comments
 (0)