From 793b156b17ea2e896a165563dbe0adc787fa1c49 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Wed, 5 Oct 2022 17:10:11 +0200 Subject: [PATCH] Remove const param from class_attributes_separation rule to allow grouping of consts with the same context --- src/Rules.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Rules.php b/src/Rules.php index d222abb..6d6727a 100644 --- a/src/Rules.php +++ b/src/Rules.php @@ -70,7 +70,6 @@ class Rules { 'elements' => [ 'method' => 'one', 'property' => 'one', - 'const' => 'only_if_meta', // TODO: check on the real code base ], ], 'no_null_property_initialization' => true, // TODO: check against yii2 default overrides