1
0
mirror of https://koodu.h-i.works/projects/thebadspace synced 2025-05-06 14:41:02 -05:00

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:
ro 2025-04-16 15:04:32 -06:00
parent 0ec5db4881
commit 1f09850a6a
3 changed files with 61 additions and 66 deletions

View File

@ -55,20 +55,15 @@ return $config
]
],
'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_in_blank_line' => true,
'object_operator_without_whitespace' => true,
'single_blank_line_before_namespace' => true,
'ternary_operator_spaces' => true,
'trim_array_spaces' => true,
'unary_operator_spaces' => true,
'whitespace_after_comma_in_array' => true,
'single_line_after_imports' => true,
'ordered_imports' => [
'sort_algorithm' => 'none',
],
//'single_blank_line_before_namespace' => true, php fixer doesn't like this rule?
//Other rules here...
])
->setLineEnding("\n");