From f6715de3305356fbcff0cdd423e81a7c209a3506 Mon Sep 17 00:00:00 2001 From: Marijn Doeve Date: Thu, 5 Jun 2025 15:25:03 +0200 Subject: [PATCH] Add trailing comma in multi line. --- .php-cs-fixer.dist.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index b4b7a6c..22b0671 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -30,6 +30,8 @@ return (new Config()) 'single_line_empty_body' => true, 'strict_comparison' => true, 'strict_param' => true, + 'trailing_comma_in_multiline' => ['after_heredoc' => true, 'elements' => ['arguments', 'array_destructuring', 'arrays', 'match', 'parameters']], + ]) ->setRiskyAllowed(true) ->setFinder($finder)