File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 11CHANGELOG
22=========
33
4- [ Next release] ( https://github.com/mfn/php-cs-fixer-config/compare/2.5 .0...master )
4+ [ Next release] ( https://github.com/mfn/php-cs-fixer-config/compare/2.8 .0...master )
55--------------
66
7+ 2025-12-05, 2.8.0
8+ -----------------
9+ - Enable all options for ` trailing_comma_in_multiline `
10+
7112025-01-27, 2.6.0
812-----------------
913- Enable ` nullable_type_declaration_for_default_null_value `
Original file line number Diff line number Diff line change @@ -285,7 +285,16 @@ public static function getRules(): array
285285 'ternary_operator_spaces ' => true ,
286286 'ternary_to_elvis_operator ' => false ,
287287 'ternary_to_null_coalescing ' => true ,
288- 'trailing_comma_in_multiline ' => true ,
288+ 'trailing_comma_in_multiline ' => [
289+ 'after_heredoc ' => true ,
290+ 'elements ' => [
291+ 'arguments ' ,
292+ 'array_destructuring ' ,
293+ 'arrays ' ,
294+ 'match ' ,
295+ 'parameters ' ,
296+ ],
297+ ],
289298 'trim_array_spaces ' => true ,
290299 'unary_operator_spaces ' => true ,
291300 'use_arrow_functions ' => false ,
You can’t perform that action at this time.
0 commit comments