Skip to content

Commit 8d02eae

Browse files
committed
Enhancement: Enable and configure trailing_comma_in_multiline fixer
1 parent 1ebc2c4 commit 8d02eae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.php-cs-fixer.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
'single_space_after_construct' => true,
3636
'strict_param' => true,
3737
'switch_case_space' => true,
38+
'trailing_comma_in_multiline' => [
39+
'elements' => [
40+
'arguments',
41+
'arrays',
42+
],
43+
],
3844
'trim_array_spaces' => true,
3945
'visibility_required' => true,
4046
'whitespace_after_comma_in_array' => true,

0 commit comments

Comments
 (0)