Add trailing_comma_in_multiline to .php-cs-fixer.dist.php (#4001)

This commit is contained in:
Luca Castellone 2025-01-16 10:12:31 +01:00 committed by GitHub
parent 16cb357ea1
commit f0320fa496
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,5 +9,6 @@ $finder = (new PhpCsFixer\Finder())
return (new PhpCsFixer\Config())
->setRules([
'@PER-CS' => true,
'trailing_comma_in_multiline' => ['elements' => ['arguments', 'array_destructuring', 'arrays']], // For PHP 7.4 compatibility
])
->setFinder($finder);