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',