Fix fn spacing rule, upgrade to the latest PHP-CS-Fixer and add a new rule

This commit is contained in:
ErickSkrauch
2022-12-06 22:15:12 +01:00
parent 2db4af0180
commit 251ebc529c
4 changed files with 16 additions and 13 deletions

View File

@@ -110,6 +110,7 @@ class Rules {
'combine_nested_dirname' => true,
'function_declaration' => [
'closure_function_spacing' => 'none',
'closure_fn_spacing' => 'none',
],
'function_typehint_space' => true,
'implode_call' => true,
@@ -153,6 +154,7 @@ class Rules {
'new_with_braces' => [
'anonymous_class' => false,
],
'no_useless_concat_operator' => true,
'no_useless_nullsafe_operator' => true,
'object_operator_without_whitespace' => true,
'operator_linebreak' => true,