diff --git a/rules/RemovingStatic/Rector/Class_/PHPUnitStaticToKernelTestCaseGetRector.php b/rules/RemovingStatic/Rector/Class_/PHPUnitStaticToKernelTestCaseGetRector.php index ae030dc59612..83eeb5efaec3 100644 --- a/rules/RemovingStatic/Rector/Class_/PHPUnitStaticToKernelTestCaseGetRector.php +++ b/rules/RemovingStatic/Rector/Class_/PHPUnitStaticToKernelTestCaseGetRector.php @@ -239,7 +239,7 @@ private function processPHPUnitClass(Class_ $class): ?Class_ // get setup or create a setup add add it there if ($setupClassMethod !== null) { - $this->updateSetUpMethod($setupClassMethod, $parentSetUpStaticCallExpression, $assign); +d $this->updateSetUpMethod($setupClassMethod, $parentSetUpStaticCallExpression, $assign); } else { $setUpMethod = $this->setUpClassMethodFactory->createSetUpMethod([$assign]); $this->classInsertManipulator->addAsFirstMethod($class, $setUpMethod);