From 3171d9a40cec3eeba41c1887290a2156e3cd330c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 31 Dec 2017 13:18:36 +0100 Subject: [PATCH] Enhancement: Enable no_alias_function and trailing_comma_in_multiline_array fixer --- .php_cs.dist | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.php_cs.dist b/.php_cs.dist index 0b5e2b2c..0dea1323 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -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, @@ -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) ;