From 732b41b77cac398e57eea31ab67b46bc72fd2995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 3 Nov 2019 18:46:02 +0100 Subject: [PATCH] Enhancement: Enable final_static_access 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 590a69a..dec7d5a 100644 --- a/src/RuleSet/Php71.php +++ b/src/RuleSet/Php71.php @@ -104,7 +104,7 @@ final class Php71 extends AbstractRuleSet 'final_class' => true, 'final_internal_class' => true, 'final_public_method_for_abstract_class' => true, - 'final_static_access' => false, + 'final_static_access' => true, 'fopen_flag_order' => true, 'fopen_flags' => true, 'fully_qualified_strict_types' => true, diff --git a/src/RuleSet/Php73.php b/src/RuleSet/Php73.php index 0135918..65802bd 100644 --- a/src/RuleSet/Php73.php +++ b/src/RuleSet/Php73.php @@ -104,7 +104,7 @@ final class Php73 extends AbstractRuleSet 'final_class' => true, 'final_internal_class' => true, 'final_public_method_for_abstract_class' => true, - 'final_static_access' => false, + 'final_static_access' => true, 'fopen_flag_order' => true, 'fopen_flags' => true, 'fully_qualified_strict_types' => true, diff --git a/test/Unit/RuleSet/Php71Test.php b/test/Unit/RuleSet/Php71Test.php index 014bece..20d97cb 100644 --- a/test/Unit/RuleSet/Php71Test.php +++ b/test/Unit/RuleSet/Php71Test.php @@ -110,7 +110,7 @@ final class Php71Test extends AbstractRuleSetTestCase 'final_class' => true, 'final_internal_class' => true, 'final_public_method_for_abstract_class' => true, - 'final_static_access' => false, + 'final_static_access' => true, 'fopen_flag_order' => true, 'fopen_flags' => true, 'fully_qualified_strict_types' => true, diff --git a/test/Unit/RuleSet/Php73Test.php b/test/Unit/RuleSet/Php73Test.php index ae7578c..aa254f6 100644 --- a/test/Unit/RuleSet/Php73Test.php +++ b/test/Unit/RuleSet/Php73Test.php @@ -110,7 +110,7 @@ final class Php73Test extends AbstractRuleSetTestCase 'final_class' => true, 'final_internal_class' => true, 'final_public_method_for_abstract_class' => true, - 'final_static_access' => false, + 'final_static_access' => true, 'fopen_flag_order' => true, 'fopen_flags' => true, 'fully_qualified_strict_types' => true,