refactoring

This commit is contained in:
Roland Gruber 2024-07-16 07:35:58 +02:00
parent 9402d4f7b7
commit 084892890f

View file

@ -1,6 +1,8 @@
<?php <?php
use Rector\Config\RectorConfig; use Rector\Config\RectorConfig;
use Rector\Php70\Rector\StaticCall\StaticCallOnNonStaticToInstanceCallRector;
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
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;
@ -22,7 +24,9 @@ return RectorConfig::configure()
__DIR__ . '/lam/lib/3rdParty', __DIR__ . '/lam/lib/3rdParty',
NullToStrictStringFuncCallArgRector::class, NullToStrictStringFuncCallArgRector::class,
ReadOnlyPropertyRector::class, ReadOnlyPropertyRector::class,
ClassPropertyAssignToConstructorPromotionRector::class ClassPropertyAssignToConstructorPromotionRector::class,
StaticCallOnNonStaticToInstanceCallRector::class,
StringifyStrNeedlesRector::class
]) ])
->withFileExtensions([ ->withFileExtensions([
'php', 'php',