php cs fixer config fix
php formatting wasn't working due to some issues in the php cs fixer config file. fixed
This commit is contained in:
parent
07793a413a
commit
73a0abf898
3 changed files with 61 additions and 66 deletions
|
@ -55,20 +55,15 @@ return $config
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'no_multiline_whitespace_around_double_arrow' => true,
|
'no_multiline_whitespace_around_double_arrow' => true,
|
||||||
'no_spaces_around_offset' => true,
|
|
||||||
'no_unused_imports' => true,
|
|
||||||
'no_whitespace_before_comma_in_array' => true,
|
'no_whitespace_before_comma_in_array' => true,
|
||||||
'no_whitespace_in_blank_line' => true,
|
'no_whitespace_in_blank_line' => true,
|
||||||
'object_operator_without_whitespace' => true,
|
'object_operator_without_whitespace' => true,
|
||||||
'single_blank_line_before_namespace' => true,
|
|
||||||
'ternary_operator_spaces' => true,
|
'ternary_operator_spaces' => true,
|
||||||
'trim_array_spaces' => true,
|
'trim_array_spaces' => true,
|
||||||
'unary_operator_spaces' => true,
|
'unary_operator_spaces' => true,
|
||||||
'whitespace_after_comma_in_array' => true,
|
'whitespace_after_comma_in_array' => true,
|
||||||
'single_line_after_imports' => true,
|
'single_line_after_imports' => true,
|
||||||
'ordered_imports' => [
|
//'single_blank_line_before_namespace' => true, php fixer doesn't like this rule?
|
||||||
'sort_algorithm' => 'none',
|
|
||||||
],
|
|
||||||
//Other rules here...
|
//Other rules here...
|
||||||
])
|
])
|
||||||
->setLineEnding("\n");
|
->setLineEnding("\n");
|
||||||
|
|
Loading…
Add table
Reference in a new issue