refactoring

This commit is contained in:
Roland Gruber 2024-12-06 20:35:14 +01:00
parent 146c975a61
commit 66dcc2eced

View file

@ -11,6 +11,7 @@ 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;
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector; use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
use Rector\Strict\Rector\Empty_\DisallowedEmptyRuleFixerRector;
return RectorConfig::configure() return RectorConfig::configure()
->withParallel(240, 8) ->withParallel(240, 8)
@ -34,7 +35,8 @@ return RectorConfig::configure()
StringifyStrNeedlesRector::class, StringifyStrNeedlesRector::class,
RestoreDefaultNullToNullableTypePropertyRector::class, RestoreDefaultNullToNullableTypePropertyRector::class,
ForRepeatedCountToOwnVariableRector::class, ForRepeatedCountToOwnVariableRector::class,
SimplifyEmptyCheckOnEmptyArrayRector::class SimplifyEmptyCheckOnEmptyArrayRector::class,
DisallowedEmptyRuleFixerRector::class
]) ])
->withFileExtensions([ ->withFileExtensions([
'php', 'php',