refactoring

This commit is contained in:
Roland Gruber 2024-06-18 20:33:52 +02:00
parent 0dc1d2e1b8
commit 0e8777b547

View file

@ -1,6 +1,7 @@
<?php <?php
use Rector\Config\RectorConfig; use Rector\Config\RectorConfig;
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;
use Rector\Set\ValueObject\SetList; use Rector\Set\ValueObject\SetList;
@ -20,7 +21,8 @@ return RectorConfig::configure()
->withSkip([ ->withSkip([
__DIR__ . '/lam/lib/3rdParty', __DIR__ . '/lam/lib/3rdParty',
NullToStrictStringFuncCallArgRector::class, NullToStrictStringFuncCallArgRector::class,
ReadOnlyPropertyRector::class ReadOnlyPropertyRector::class,
ClassPropertyAssignToConstructorPromotionRector::class
]) ])
->withFileExtensions([ ->withFileExtensions([
'php', 'php',