Add fixer to place promoted properties on a new line when there is more than 1 parameter

This commit is contained in:
ErickSkrauch
2023-03-24 01:13:24 +01:00
parent 050dfe6399
commit 6d572ae421
5 changed files with 63 additions and 4 deletions

View File

@@ -213,6 +213,11 @@ class Rules {
'space_multiple_catch' => 'none',
],
// kubawerlos fixers
'PhpCsFixerCustomFixers/multiline_promoted_properties' => [
'minimum_number_of_parameters' => 2,
],
// Our custom or extended fixers
'Ely/align_multiline_parameters' => [
'variables' => false,