We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
no_trailing_comma_in_singleline
1 parent 288e7cb commit 2a62f45Copy full SHA for 2a62f45
1 file changed
.php-cs-fixer-rules.php
@@ -56,7 +56,9 @@
56
'no_short_bool_cast' => true,
57
'no_singleline_whitespace_before_semicolons' => true,
58
'no_spaces_around_offset' => true,
59
- 'no_trailing_comma_in_singleline' => false, // it's a good marker that there are more elements in an array
+ 'no_trailing_comma_in_singleline' => [
60
+ 'elements' => ['arguments', 'array', 'group_import'], // excludes 'array_destructuring' enabled by default
61
+ ],
62
'no_unneeded_braces' => true,
63
'no_unneeded_control_parentheses' => true,
64
'no_unneeded_final_method' => true,
0 commit comments