Skip to content

Commit

Permalink
Enhancement: Enable no_alias_function and trailing_comma_in_multiline…
Browse files Browse the repository at this point in the history
…_array fixer
  • Loading branch information
localheinz committed Oct 19, 2018
1 parent 0ccb470 commit 3171d9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ $config
'array_syntax' => array('syntax' => 'long'),
'binary_operator_spaces' => false,
'concat_space' => array('spacing' => 'one'),
'no_alias_functions' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'ordered_imports' => true,
Expand All @@ -22,8 +23,9 @@ $config
'phpdoc_summary' => false,
'pre_increment' => false,
'simplified_null_return' => false,
'trailing_comma_in_multiline_array' => false,
'trailing_comma_in_multiline_array' => true,
))
->setRiskyAllowed(true)
->setFinder($finder)
;

Expand Down

0 comments on commit 3171d9a

Please sign in to comment.