From a69c22d6a7f719e060b144dc13f015f6f8e9511d Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 22 Oct 2025 18:17:19 +0700 Subject: [PATCH] [NodeManipulator] Remove use of AttributeGroupNewLiner on Param and Property on ReadonlyClassManipulator --- rules/Php82/NodeManipulator/ReadonlyClassManipulator.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rules/Php82/NodeManipulator/ReadonlyClassManipulator.php b/rules/Php82/NodeManipulator/ReadonlyClassManipulator.php index b28f3b74a2b..ea58dade97b 100644 --- a/rules/Php82/NodeManipulator/ReadonlyClassManipulator.php +++ b/rules/Php82/NodeManipulator/ReadonlyClassManipulator.php @@ -46,19 +46,11 @@ public function process(Class_ $class, File $file): Class_|null if ($constructClassMethod instanceof ClassMethod) { foreach ($constructClassMethod->getParams() as $param) { $this->visibilityManipulator->removeReadonly($param); - - if ($param->attrGroups !== []) { - $this->attributeGroupNewLiner->newLine($file, $param); - } } } foreach ($class->getProperties() as $property) { $this->visibilityManipulator->removeReadonly($property); - - if ($property->attrGroups !== []) { - $this->attributeGroupNewLiner->newLine($file, $property); - } } if ($class->attrGroups !== []) {