From 3080c5f9ada47d3c2dd47f3b897c39753432c48f Mon Sep 17 00:00:00 2001 From: Maks Oleksyuk Date: Sat, 28 Dec 2024 19:15:09 +0200 Subject: [PATCH] Add `property` to `trailing_comma_in_multiline` rule --- resources/presets/laravel.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/presets/laravel.php b/resources/presets/laravel.php index 4efa8484..f35afc8b 100644 --- a/resources/presets/laravel.php +++ b/resources/presets/laravel.php @@ -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,