From 82b7ef86c7c93e87ac8316d6b39cdcb05c2cd6d3 Mon Sep 17 00:00:00 2001 From: "lenaick.moreira" Date: Mon, 16 Feb 2026 15:35:46 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B08796=20-=20Refactor=20PHP=20CS=20Fixer?= =?UTF-8?q?=20configuration=20for=20improved=20readability=20*=20`'indenta?= =?UTF-8?q?tion=5Ftype'`=20already=20included=20in=20@PSR12=20rule=20set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/php-code-style/.php-cs-fixer.dist.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/php-code-style/.php-cs-fixer.dist.php b/tests/php-code-style/.php-cs-fixer.dist.php index 6456c3dd9..2dc6748d5 100644 --- a/tests/php-code-style/.php-cs-fixer.dist.php +++ b/tests/php-code-style/.php-cs-fixer.dist.php @@ -13,13 +13,12 @@ $config = new PhpCsFixer\Config(); return $config->setRiskyAllowed(true) ->setRules([ '@PSR12' => true, - 'indentation_type' => true, - 'no_extra_blank_lines' => true, - 'array_syntax' => ['syntax' => 'short'], - 'concat_space' => true, - 'trailing_comma_in_multiline' => true, + 'no_extra_blank_lines' => true, // default value ['tokens' => ['extra']] + 'array_syntax' => true, // default value ['syntax' => 'short'] + 'concat_space' => true, // default value ['spacing' => 'none'] + 'trailing_comma_in_multiline' => true, // default value ['after_heredoc' => false, 'elements' => ['arrays']] ]) ->setIndent("\t") ->setLineEnding("\n") ->setFinder($finder) -; \ No newline at end of file +;