diff --git a/rector.php b/rector.php index e96182f..59c071c 100644 --- a/rector.php +++ b/rector.php @@ -14,7 +14,6 @@ use Rector\DeadCode\Rector\If_\RemoveAlwaysTrueIfConditionRector; use Rector\DeadCode\Rector\If_\RemoveDeadInstanceOfRector; use Rector\DeadCode\Rector\StaticCall\RemoveParentCallWithoutParentRector; -use Rector\Php71\Rector\FuncCall\CountOnNullRector; use Rector\Php81\Rector\Array_\FirstClassCallableRector; use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector; use Rector\PHPUnit\Set\PHPUnitSetList; @@ -27,9 +26,6 @@ __DIR__ . '/tests', ]); - // register a single rule - // $rectorConfig->rule(\Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector\InlineConstructorDefaultToPropertyRector::class); - $rectorConfig->sets([ SetList::DEAD_CODE, LevelSetList::UP_TO_PHP_81, @@ -43,7 +39,6 @@ FirstClassCallableRector::class, RemoveAlwaysTrueIfConditionRector::class, RemoveParentCallWithoutParentRector::class, - CountOnNullRector::class, ], ); };