Skip to content

Commit 3171d9a

Browse files
committed
Enhancement: Enable no_alias_function and trailing_comma_in_multiline_array fixer
1 parent 0ccb470 commit 3171d9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.php_cs.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ $config
1414
'array_syntax' => array('syntax' => 'long'),
1515
'binary_operator_spaces' => false,
1616
'concat_space' => array('spacing' => 'one'),
17+
'no_alias_functions' => true,
1718
'no_useless_else' => true,
1819
'no_useless_return' => true,
1920
'ordered_imports' => true,
@@ -22,8 +23,9 @@ $config
2223
'phpdoc_summary' => false,
2324
'pre_increment' => false,
2425
'simplified_null_return' => false,
25-
'trailing_comma_in_multiline_array' => false,
26+
'trailing_comma_in_multiline_array' => true,
2627
))
28+
->setRiskyAllowed(true)
2729
->setFinder($finder)
2830
;
2931

0 commit comments

Comments
 (0)