From 382998a335770b3f8816dc721d753649cbd1dcd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 3 Nov 2019 19:39:39 +0100 Subject: [PATCH] Enhancement: Enable self_static_accessor 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 a4cf2d2..96b0aa2 100644 --- a/src/RuleSet/Php71.php +++ b/src/RuleSet/Php71.php @@ -291,7 +291,7 @@ final class Php71 extends AbstractRuleSet 'return_assignment' => true, 'return_type_declaration' => true, 'self_accessor' => true, - 'self_static_accessor' => false, + 'self_static_accessor' => true, 'semicolon_after_instruction' => true, 'set_type_to_cast' => true, 'short_scalar_cast' => true, diff --git a/src/RuleSet/Php73.php b/src/RuleSet/Php73.php index b3ca225..1a3738c 100644 --- a/src/RuleSet/Php73.php +++ b/src/RuleSet/Php73.php @@ -291,7 +291,7 @@ final class Php73 extends AbstractRuleSet 'return_assignment' => true, 'return_type_declaration' => true, 'self_accessor' => true, - 'self_static_accessor' => false, + 'self_static_accessor' => true, 'semicolon_after_instruction' => true, 'set_type_to_cast' => true, 'short_scalar_cast' => true, diff --git a/test/Unit/RuleSet/Php71Test.php b/test/Unit/RuleSet/Php71Test.php index e5dfd22..ed6397b 100644 --- a/test/Unit/RuleSet/Php71Test.php +++ b/test/Unit/RuleSet/Php71Test.php @@ -297,7 +297,7 @@ final class Php71Test extends AbstractRuleSetTestCase 'return_assignment' => true, 'return_type_declaration' => true, 'self_accessor' => true, - 'self_static_accessor' => false, + 'self_static_accessor' => true, 'semicolon_after_instruction' => true, 'set_type_to_cast' => true, 'short_scalar_cast' => true, diff --git a/test/Unit/RuleSet/Php73Test.php b/test/Unit/RuleSet/Php73Test.php index a707b53..4edd215 100644 --- a/test/Unit/RuleSet/Php73Test.php +++ b/test/Unit/RuleSet/Php73Test.php @@ -297,7 +297,7 @@ final class Php73Test extends AbstractRuleSetTestCase 'return_assignment' => true, 'return_type_declaration' => true, 'self_accessor' => true, - 'self_static_accessor' => false, + 'self_static_accessor' => true, 'semicolon_after_instruction' => true, 'set_type_to_cast' => true, 'short_scalar_cast' => true,