From 8a9e71a561cfbcacdf269774daab289584e365a8 Mon Sep 17 00:00:00 2001 From: Zing Date: Wed, 14 Aug 2024 00:24:55 +0800 Subject: [PATCH 1/2] Remove rules that were never registered --- rector.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/rector.php b/rector.php index 30f6b63..abf0d88 100644 --- a/rector.php +++ b/rector.php @@ -6,7 +6,6 @@ use Rector\Config\RectorConfig; use Rector\Naming\Rector\Assign\RenameVariableToMatchMethodCallReturnTypeRector; use Rector\Naming\Rector\ClassMethod\RenameParamToMatchTypeRector; -use Rector\PHPUnit\CodeQuality\Rector\Class_\AddSeeTestAnnotationRector; use Rector\PHPUnit\Set\PHPUnitSetList; use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector; use Rector\Set\ValueObject\LevelSetList; @@ -18,7 +17,6 @@ $rectorConfig->skip([ RenameVariableToMatchMethodCallReturnTypeRector::class, RenameParamToMatchTypeRector::class, - AddSeeTestAnnotationRector::class, PrivatizeLocalGetterToPropertyRector::class, PostIncDecToPreIncDecRector::class, ]); From 17fd006a9e39d88a33330d0f27cfe9d4191ae8dd Mon Sep 17 00:00:00 2001 From: Zing Date: Wed, 14 Aug 2024 00:27:16 +0800 Subject: [PATCH 2/2] Update rector.php --- rector.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/rector.php b/rector.php index abf0d88..eaa5afa 100644 --- a/rector.php +++ b/rector.php @@ -2,7 +2,6 @@ declare(strict_types=1); -use Rector\CodingStyle\Rector\PostInc\PostIncDecToPreIncDecRector; use Rector\Config\RectorConfig; use Rector\Naming\Rector\Assign\RenameVariableToMatchMethodCallReturnTypeRector; use Rector\Naming\Rector\ClassMethod\RenameParamToMatchTypeRector; @@ -18,7 +17,6 @@ RenameVariableToMatchMethodCallReturnTypeRector::class, RenameParamToMatchTypeRector::class, PrivatizeLocalGetterToPropertyRector::class, - PostIncDecToPreIncDecRector::class, ]); $rectorConfig->paths([__DIR__ . '/src', __DIR__ . '/tests', __DIR__ . '/ecs.php', __DIR__ . '/rector.php']); };