refactoring

This commit is contained in:
Roland Gruber 2024-09-24 20:08:41 +02:00
parent a002ef87db
commit 6394a9ca7a

View file

@ -3,6 +3,7 @@
use Rector\Config\RectorConfig; use Rector\Config\RectorConfig;
use Rector\Php70\Rector\StaticCall\StaticCallOnNonStaticToInstanceCallRector; use Rector\Php70\Rector\StaticCall\StaticCallOnNonStaticToInstanceCallRector;
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector; use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
use Rector\Php74\Rector\Property\RestoreDefaultNullToNullableTypePropertyRector;
use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector; use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector;
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector; use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
use Rector\Set\ValueObject\LevelSetList; use Rector\Set\ValueObject\LevelSetList;
@ -26,7 +27,8 @@ return RectorConfig::configure()
ReadOnlyPropertyRector::class, ReadOnlyPropertyRector::class,
ClassPropertyAssignToConstructorPromotionRector::class, ClassPropertyAssignToConstructorPromotionRector::class,
StaticCallOnNonStaticToInstanceCallRector::class, StaticCallOnNonStaticToInstanceCallRector::class,
StringifyStrNeedlesRector::class StringifyStrNeedlesRector::class,
RestoreDefaultNullToNullableTypePropertyRector::class,
]) ])
->withFileExtensions([ ->withFileExtensions([
'php', 'php',