Skip to content

Commit

Permalink
Fix: Configure newly added instead of deprecated fixers
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Sep 29, 2023
1 parent d8b20cc commit 2440d3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/RuleSet/Custom.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public static function create(): RuleSet
'blank_line_before_statement' => false,
'blank_line_between_import_groups' => false,
'blank_lines_before_namespace' => false,
'braces_position' => false,
'cast_spaces' => false,
'class_attributes_separation' => false,
'class_definition' => false,
Expand All @@ -61,12 +62,11 @@ public static function create(): RuleSet
'combine_consecutive_unsets' => false,
'combine_nested_dirname' => false,
'comment_to_phpdoc' => false,
'compact_nullable_typehint' => false,
'compact_nullable_type_declaration' => false,
'concat_space' => false,
'constant_case' => false,
'control_structure_braces' => false,
'control_structure_continuation_position' => false,
'curly_braces_position' => false,
'date_time_create_from_format_call' => false,
'date_time_immutable' => false,
'declare_equal_normalize' => false,
Expand Down Expand Up @@ -132,7 +132,7 @@ public static function create(): RuleSet
'native_function_casing' => false,
'native_function_invocation' => false,
'native_function_type_declaration_casing' => false,
'new_with_braces' => false,
'new_with_parentheses' => false,
'no_alias_functions' => false,
'no_alias_language_construct_call' => false,
'no_alternative_syntax' => false,
Expand Down Expand Up @@ -164,8 +164,8 @@ public static function create(): RuleSet
'no_trailing_whitespace' => false,
'no_trailing_whitespace_in_comment' => false,
'no_trailing_whitespace_in_string' => false,
'no_unneeded_braces' => false,
'no_unneeded_control_parentheses' => false,
'no_unneeded_curly_braces' => false,
'no_unneeded_final_method' => false,
'no_unneeded_import_alias' => false,
'no_unreachable_default_argument_value' => false,
Expand Down
8 changes: 4 additions & 4 deletions test/Unit/RuleSet/CustomTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ protected function expectedRules(): Rules
'blank_line_before_statement' => false,
'blank_line_between_import_groups' => false,
'blank_lines_before_namespace' => false,
'braces_position' => false,
'cast_spaces' => false,
'class_attributes_separation' => false,
'class_definition' => false,
Expand All @@ -73,12 +74,11 @@ protected function expectedRules(): Rules
'combine_consecutive_unsets' => false,
'combine_nested_dirname' => false,
'comment_to_phpdoc' => false,
'compact_nullable_typehint' => false,
'compact_nullable_type_declaration' => false,
'concat_space' => false,
'constant_case' => false,
'control_structure_braces' => false,
'control_structure_continuation_position' => false,
'curly_braces_position' => false,
'date_time_create_from_format_call' => false,
'date_time_immutable' => false,
'declare_equal_normalize' => false,
Expand Down Expand Up @@ -144,7 +144,7 @@ protected function expectedRules(): Rules
'native_function_casing' => false,
'native_function_invocation' => false,
'native_function_type_declaration_casing' => false,
'new_with_braces' => false,
'new_with_parentheses' => false,
'no_alias_functions' => false,
'no_alias_language_construct_call' => false,
'no_alternative_syntax' => false,
Expand Down Expand Up @@ -176,8 +176,8 @@ protected function expectedRules(): Rules
'no_trailing_whitespace' => false,
'no_trailing_whitespace_in_comment' => false,
'no_trailing_whitespace_in_string' => false,
'no_unneeded_braces' => false,
'no_unneeded_control_parentheses' => false,
'no_unneeded_curly_braces' => false,
'no_unneeded_final_method' => false,
'no_unneeded_import_alias' => false,
'no_unreachable_default_argument_value' => false,
Expand Down

0 comments on commit 2440d3d

Please sign in to comment.