diff --git a/src/RuleSets/ExtendedPERSet.php b/src/RuleSets/ExtendedPERSet.php index 2962c61..ac68f27 100644 --- a/src/RuleSets/ExtendedPERSet.php +++ b/src/RuleSets/ExtendedPERSet.php @@ -78,7 +78,7 @@ public function rules(): array 'method' => 'one', 'property' => 'one', 'trait_import' => 'none', - 'case' => 'one', + 'case' => 'only_if_meta', ], ], 'no_unused_imports' => true, @@ -104,23 +104,16 @@ public function rules(): array 'use_trait', 'case', 'constant', - // 'property_public_static', 'property_public', - // 'property_protected_static', 'property_protected', - // 'property_private_static', 'property_private', 'construct', 'method_public_static', - // 'method_public_abstract_static', - // 'method_public_abstract', 'method_public', 'magic', 'destruct', 'phpunit', 'method_protected_static', - // 'method_protected_abstract_static', - // 'method_protected_abstract', 'method_protected', 'method_private_static', 'method_private',