Commit graph

8 commits

Author SHA1 Message Date
Kevin Decherf
c4fe061a2e phpcs: override trailing comma rule
The @Symfony ruleSet comes with trailing_comma_in_multiline's elements
set to ['array', 'array_destructuring', 'match', 'parameters'].
However, 'parameters' breaks PHP 7.4

Reference: https://cs.symfony.com/doc/rules/control_structure/trailing_comma_in_multiline.html

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2024-11-11 21:00:27 +01:00
Yassine Guedidi
0a117958c9 Apply PHP-CS-Fixer fixes 2024-01-22 19:15:54 +01:00
Yassine Guedidi
ef9183f6c1 Use Config constructor instead of deprecated named one 2022-08-15 13:23:02 +02:00
Yassine Guedidi
5d736d874c FIx deprecation in no_extra_blank_lines 2022-08-15 13:23:02 +02:00
Yassine Guedidi
569eca0396 Fix indentation 2022-08-15 13:23:02 +02:00
Yassine Guedidi
2c7c39ed87 Use new rule names 2022-08-15 13:23:02 +02:00
Yassine Guedidi
c73c6052b6 Ignore .php-cs-fixer.cache as cache file 2022-08-15 13:23:02 +02:00
Yassine Guedidi
abaa2f4e8a Rename .php_cs to .php-cs-fixer.dist.php 2022-08-15 13:23:02 +02:00
Renamed from .php_cs (Browse further)