Skip to content

Commit

Permalink
PSR12 - disable fix_constructor_arguments in ClassDefinitionFixer
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor committed Oct 27, 2021
1 parent fafb79b commit e5d44e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/RuleSet/Sets/PSR12Set.php
Expand Up @@ -29,7 +29,10 @@ public function getRules(): array
'braces' => [
'allow_single_line_anonymous_class_with_empty_body' => true,
],
'class_definition' => ['space_before_parenthesis' => true], // defined in PSR12 ¶8. Anonymous Classes
'class_definition' => [
'space_before_parenthesis' => true, // defined in PSR12 ¶8. Anonymous Classes
'fix_constructor_arguments' => false, // handled by method_argument_space fixer
],
'compact_nullable_typehint' => true,
'declare_equal_normalize' => true,
'lowercase_cast' => true,
Expand Down

0 comments on commit e5d44e7

Please sign in to comment.