From 3ba7eab2f98d121b8ab3e87ee124ece27f40ba42 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 29 Jul 2026 00:48:27 +0700 Subject: [PATCH] [Rector] Skip RemoveDefaultValueFromAssignedPropertyRector for now Signed-off-by: Abdul Malik Ikhsan --- rector.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rector.php b/rector.php index 1d219d276..3462281e5 100644 --- a/rector.php +++ b/rector.php @@ -12,6 +12,7 @@ use Rector\DeadCode\Rector\ClassMethod\RemoveReturnTagIncompatibleWithNativeTypeRector; use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedConstructorParamRector; use Rector\DeadCode\Rector\ClassMethod\RemoveUselessUnionReturnDocblockRector; +use Rector\DeadCode\Rector\Property\RemoveDefaultValueFromAssignedPropertyRector; use Rector\DeadCode\Rector\Property\RemoveUnusedPrivatePropertyRector; use Rector\TypeDeclaration\Rector\ArrowFunction\AddArrowFunctionReturnTypeRector; use Rector\TypeDeclaration\Rector\ClassMethod\NarrowObjectReturnTypeRector; @@ -56,6 +57,7 @@ AddArrowFunctionReturnTypeRector::class => [ __DIR__.'/tests', ], + RemoveDefaultValueFromAssignedPropertyRector::class, ]) ->withPreparedSets( deadCode: true,