Skip to content

Commit

Permalink
Add property to trailing_comma_in_multiline rule
Browse files Browse the repository at this point in the history
  • Loading branch information
maks-oleksyuk committed Dec 28, 2024
1 parent 854039c commit 3080c5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/presets/laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@
'switch_case_semicolon_to_colon' => true,
'switch_case_space' => true,
'ternary_operator_spaces' => true,
'trailing_comma_in_multiline' => ['elements' => ['arrays']],
'trailing_comma_in_multiline' => [
'elements' => ['arrays', 'parameters'],
],
'trim_array_spaces' => true,
'type_declaration_spaces' => true,
'types_spaces' => true,
Expand Down

0 comments on commit 3080c5f

Please sign in to comment.