From 6394a9ca7a114a6ea609f0450e12323f958d7444 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 24 Sep 2024 20:08:41 +0200 Subject: [PATCH] refactoring --- rector.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rector.php b/rector.php index 2d4d135c9..2133b7e77 100644 --- a/rector.php +++ b/rector.php @@ -3,6 +3,7 @@ use Rector\Config\RectorConfig; use Rector\Php70\Rector\StaticCall\StaticCallOnNonStaticToInstanceCallRector; use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector; +use Rector\Php74\Rector\Property\RestoreDefaultNullToNullableTypePropertyRector; use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector; use Rector\Php81\Rector\Property\ReadOnlyPropertyRector; use Rector\Set\ValueObject\LevelSetList; @@ -26,7 +27,8 @@ return RectorConfig::configure() ReadOnlyPropertyRector::class, ClassPropertyAssignToConstructorPromotionRector::class, StaticCallOnNonStaticToInstanceCallRector::class, - StringifyStrNeedlesRector::class + StringifyStrNeedlesRector::class, + RestoreDefaultNullToNullableTypePropertyRector::class, ]) ->withFileExtensions([ 'php',