From b39eba67ea846d043c1932f3b1e1eb5613dbe554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 3 Nov 2019 18:42:55 +0100 Subject: [PATCH] Enhancement: Enable final_public_method_for_abstract_class fixer --- src/RuleSet/Php71.php | 2 +- src/RuleSet/Php73.php | 2 +- test/Unit/RuleSet/Php71Test.php | 2 +- test/Unit/RuleSet/Php73Test.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/RuleSet/Php71.php b/src/RuleSet/Php71.php index f722f3b..590a69a 100644 --- a/src/RuleSet/Php71.php +++ b/src/RuleSet/Php71.php @@ -103,7 +103,7 @@ final class Php71 extends AbstractRuleSet 'explicit_string_variable' => true, 'final_class' => true, 'final_internal_class' => true, - 'final_public_method_for_abstract_class' => false, + 'final_public_method_for_abstract_class' => true, 'final_static_access' => false, 'fopen_flag_order' => true, 'fopen_flags' => true, diff --git a/src/RuleSet/Php73.php b/src/RuleSet/Php73.php index 68b95ac..0135918 100644 --- a/src/RuleSet/Php73.php +++ b/src/RuleSet/Php73.php @@ -103,7 +103,7 @@ final class Php73 extends AbstractRuleSet 'explicit_string_variable' => true, 'final_class' => true, 'final_internal_class' => true, - 'final_public_method_for_abstract_class' => false, + 'final_public_method_for_abstract_class' => true, 'final_static_access' => false, 'fopen_flag_order' => true, 'fopen_flags' => true, diff --git a/test/Unit/RuleSet/Php71Test.php b/test/Unit/RuleSet/Php71Test.php index 0995c73..014bece 100644 --- a/test/Unit/RuleSet/Php71Test.php +++ b/test/Unit/RuleSet/Php71Test.php @@ -109,7 +109,7 @@ final class Php71Test extends AbstractRuleSetTestCase 'explicit_string_variable' => true, 'final_class' => true, 'final_internal_class' => true, - 'final_public_method_for_abstract_class' => false, + 'final_public_method_for_abstract_class' => true, 'final_static_access' => false, 'fopen_flag_order' => true, 'fopen_flags' => true, diff --git a/test/Unit/RuleSet/Php73Test.php b/test/Unit/RuleSet/Php73Test.php index 1c5b3cc..ae7578c 100644 --- a/test/Unit/RuleSet/Php73Test.php +++ b/test/Unit/RuleSet/Php73Test.php @@ -109,7 +109,7 @@ final class Php73Test extends AbstractRuleSetTestCase 'explicit_string_variable' => true, 'final_class' => true, 'final_internal_class' => true, - 'final_public_method_for_abstract_class' => false, + 'final_public_method_for_abstract_class' => true, 'final_static_access' => false, 'fopen_flag_order' => true, 'fopen_flags' => true,