Configure cs-fixer to keep existing style

This commit is contained in:
ByteHamster 2024-02-04 21:16:14 +01:00
parent 84e4b601da
commit e2f0c95707

View file

@ -8,12 +8,16 @@ $config->setRules([
'@PSR2' => true, '@PSR2' => true,
'@Symfony' => true, '@Symfony' => true,
'binary_operator_spaces' => [], 'binary_operator_spaces' => [],
'braces' => ['position_after_functions_and_oop_constructs' => 'same'], 'braces_position' => [
'functions_opening_brace' => 'same_line',
'classes_opening_brace' => 'same_line'],
'concat_space' => ['spacing' => 'one'], 'concat_space' => ['spacing' => 'one'],
'fully_qualified_strict_types' => false,
'no_superfluous_phpdoc_tags' => false, 'no_superfluous_phpdoc_tags' => false,
'no_unneeded_control_parentheses' => false, 'no_unneeded_control_parentheses' => false,
'phpdoc_align' => false, 'phpdoc_align' => false,
'single_line_comment_style' => false, 'single_line_comment_style' => false,
'single_line_comment_spacing' => false,
'single_quote' => false, 'single_quote' => false,
'trailing_comma_in_multiline' => true, 'trailing_comma_in_multiline' => true,
'visibility_required' => false, 'visibility_required' => false,