From e2f0c95707309aba383dd34158665a9308a7fde4 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 4 Feb 2024 21:16:14 +0100 Subject: [PATCH] Configure cs-fixer to keep existing style --- .php-cs-fixer.dist.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 70a5825..2585bfa 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -8,12 +8,16 @@ $config->setRules([ '@PSR2' => true, '@Symfony' => true, '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'], + 'fully_qualified_strict_types' => false, 'no_superfluous_phpdoc_tags' => false, 'no_unneeded_control_parentheses' => false, 'phpdoc_align' => false, 'single_line_comment_style' => false, + 'single_line_comment_spacing' => false, 'single_quote' => false, 'trailing_comma_in_multiline' => true, 'visibility_required' => false,