From 95e97d1065774404def63d0cea6cd59644978ba3 Mon Sep 17 00:00:00 2001 From: Greg Korba Date: Wed, 21 Aug 2024 17:14:52 +0200 Subject: [PATCH] Disable `trailing_comma_in_multiline` rule Since PHP 7.2-7.4 is supported we can't use trailing commas in arguments, parameters and match. Enabling it only for arrays is against current coding standard used in the project. --- .php-cs-fixer.dist.php | 1 + 1 file changed, 1 insertion(+) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 37166881..3bf19ab0 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -11,6 +11,7 @@ ], 'concat_space' => ['spacing' => 'none'], 'method_argument_space' => ['on_multiline' => 'ignore'], + 'trailing_comma_in_multiline' => false, 'visibility_required' => false, ]) ->setFinder(