mirror of
https://github.com/elyby/php-code-style.git
synced 2025-05-31 14:12:05 +05:30
Add fixer to place promoted properties on a new line when there is more than 1 parameter
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user