From 620301510c4485058c9d806a8ebe8996648eb37d Mon Sep 17 00:00:00 2001 From: TomasVotruba Date: Fri, 19 Mar 2021 10:56:27 +0100 Subject: [PATCH] fixup! fix last token print --- .../Rector/Class_/PHPUnitStaticToKernelTestCaseGetRector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);