Skip to content

Commit

Permalink
Fix: Configure error_suppression fixer using all non-deprecated options
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 26, 2020
1 parent cb38428 commit fa490cd
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 @@ -214,6 +214,7 @@ final class Php71 extends AbstractRuleSet implements ExplicitRuleSet
'error_suppression' => [
'mute_deprecation_error' => true,
'noise_remaining_usages' => true,
'noise_remaining_usages_exclude' => [],
],
'escape_implicit_backslashes' => [
'double_quoted' => 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 @@ -214,6 +214,7 @@ final class Php73 extends AbstractRuleSet implements ExplicitRuleSet
'error_suppression' => [
'mute_deprecation_error' => true,
'noise_remaining_usages' => true,
'noise_remaining_usages_exclude' => [],
],
'escape_implicit_backslashes' => [
'double_quoted' => 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 @@ -214,6 +214,7 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet
'error_suppression' => [
'mute_deprecation_error' => true,
'noise_remaining_usages' => true,
'noise_remaining_usages_exclude' => [],
],
'escape_implicit_backslashes' => [
'double_quoted' => 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 @@ -220,6 +220,7 @@ final class Php71Test extends ExplicitRuleSetTestCase
'error_suppression' => [
'mute_deprecation_error' => true,
'noise_remaining_usages' => true,
'noise_remaining_usages_exclude' => [],
],
'escape_implicit_backslashes' => [
'double_quoted' => 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 @@ -220,6 +220,7 @@ final class Php73Test extends ExplicitRuleSetTestCase
'error_suppression' => [
'mute_deprecation_error' => true,
'noise_remaining_usages' => true,
'noise_remaining_usages_exclude' => [],
],
'escape_implicit_backslashes' => [
'double_quoted' => 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 @@ -220,6 +220,7 @@ final class Php74Test extends ExplicitRuleSetTestCase
'error_suppression' => [
'mute_deprecation_error' => true,
'noise_remaining_usages' => true,
'noise_remaining_usages_exclude' => [],
],
'escape_implicit_backslashes' => [
'double_quoted' => true,
Expand Down

0 comments on commit fa490cd

Please sign in to comment.