refactoring

This commit is contained in:
Roland Gruber 2024-12-29 11:22:06 +01:00
parent 104dabc82d
commit 6b4e59bc32

View file

@ -1,6 +1,7 @@
<?php
use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector;
use Rector\CodeQuality\Rector\ClassMethod\ExplicitReturnNullRector;
use Rector\CodeQuality\Rector\ClassMethod\InlineArrayReturnAssignRector;
use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector;
use Rector\CodeQuality\Rector\For_\ForRepeatedCountToOwnVariableRector;
@ -49,7 +50,9 @@ return RectorConfig::configure()
// TODO parent call check is unreliable, recheck with newer rector version
RemoveParentCallWithoutParentRector::class,
// TODO inherited properties check is unreliable, recheck with newer rector version
CompleteDynamicPropertiesRector::class
CompleteDynamicPropertiesRector::class,
// TODO unreliable, recheck with newer rector version
ExplicitReturnNullRector::class
])
->withFileExtensions([
'php',