Skip to content

Commit

Permalink
Fix: Disable return_type_declaration fixer for Php56 rule set
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed May 17, 2023
1 parent 70ca686 commit 97bdb57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/RuleSet/Php56.php
Expand Up @@ -652,9 +652,7 @@ final class Php56 extends AbstractRuleSet implements ExplicitRuleSet
],
'regular_callable_call' => true,
'return_assignment' => true,
'return_type_declaration' => [
'space_before' => 'none',
],
'return_type_declaration' => false,
'self_accessor' => true,
'self_static_accessor' => true,
'semicolon_after_instruction' => true,
Expand Down
4 changes: 1 addition & 3 deletions test/Unit/RuleSet/Php56Test.php
Expand Up @@ -658,9 +658,7 @@ final class Php56Test extends ExplicitRuleSetTestCase
],
'regular_callable_call' => true,
'return_assignment' => true,
'return_type_declaration' => [
'space_before' => 'none',
],
'return_type_declaration' => false,
'self_accessor' => true,
'self_static_accessor' => true,
'semicolon_after_instruction' => true,
Expand Down

0 comments on commit 97bdb57

Please sign in to comment.