Skip to content

Commit

Permalink
Fix: Configure binary_operator_spaces fixer using all non-deprecated …
Browse files Browse the repository at this point in the history
…options
  • Loading branch information
localheinz committed Dec 26, 2020
1 parent 1ea5cf9 commit d5e1113
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/RuleSet/Php71.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ final class Php71 extends AbstractRuleSet implements ExplicitRuleSet
'backtick_to_shell_exec' => true,
'binary_operator_spaces' => [
'default' => 'single_space',
'operators' => [],
],
'blank_line_after_namespace' => true,
'blank_line_after_opening_tag' => true,
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Php73.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ final class Php73 extends AbstractRuleSet implements ExplicitRuleSet
'backtick_to_shell_exec' => true,
'binary_operator_spaces' => [
'default' => 'single_space',
'operators' => [],
],
'blank_line_after_namespace' => true,
'blank_line_after_opening_tag' => true,
Expand Down
1 change: 1 addition & 0 deletions src/RuleSet/Php74.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet
'backtick_to_shell_exec' => true,
'binary_operator_spaces' => [
'default' => 'single_space',
'operators' => [],
],
'blank_line_after_namespace' => true,
'blank_line_after_opening_tag' => true,
Expand Down
1 change: 1 addition & 0 deletions test/Unit/RuleSet/Php71Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ final class Php71Test extends ExplicitRuleSetTestCase
'backtick_to_shell_exec' => true,
'binary_operator_spaces' => [
'default' => 'single_space',
'operators' => [],
],
'blank_line_after_namespace' => true,
'blank_line_after_opening_tag' => true,
Expand Down
1 change: 1 addition & 0 deletions test/Unit/RuleSet/Php73Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ final class Php73Test extends ExplicitRuleSetTestCase
'backtick_to_shell_exec' => true,
'binary_operator_spaces' => [
'default' => 'single_space',
'operators' => [],
],
'blank_line_after_namespace' => true,
'blank_line_after_opening_tag' => true,
Expand Down
1 change: 1 addition & 0 deletions test/Unit/RuleSet/Php74Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ final class Php74Test extends ExplicitRuleSetTestCase
'backtick_to_shell_exec' => true,
'binary_operator_spaces' => [
'default' => 'single_space',
'operators' => [],
],
'blank_line_after_namespace' => true,
'blank_line_after_opening_tag' => true,
Expand Down

0 comments on commit d5e1113

Please sign in to comment.