Skip to content

Commit 9ae87fa

Browse files
committed
Configure "trailing_comma_in_multiline" rule for PHP-CS-Fixer
1 parent 146d3f4 commit 9ae87fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.php-cs-fixer.dist.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@
8383
'static_lambda' => true,
8484
'strict_param' => true,
8585
'ternary_to_null_coalescing' => true,
86+
'trailing_comma_in_multiline' => [
87+
'elements' => [
88+
'arrays',
89+
],
90+
],
8691
// @todo: Change the following rule to `true` in the next major release.
8792
'void_return' => false,
8893
])

0 commit comments

Comments
 (0)