From 1caffa2425760d710e1be7cde321f3e2b8d8b6dc Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Tue, 10 Oct 2023 09:44:42 +0100 Subject: [PATCH] fix: remove unavailable Rector rules --- src/WorksomeRectorConfig.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/WorksomeRectorConfig.php b/src/WorksomeRectorConfig.php index c9a47a7..b00e19f 100644 --- a/src/WorksomeRectorConfig.php +++ b/src/WorksomeRectorConfig.php @@ -3,7 +3,6 @@ namespace Worksome\CodingStyle; use Rector\Config\RectorConfig; -use Rector\DeadCode\Rector\ClassMethod\RemoveDelegatingParentCallRector; use Rector\DeadCode\Rector\ClassMethod\RemoveUselessParamTagRector; use Rector\DeadCode\Rector\ClassMethod\RemoveUselessReturnTagRector; use Rector\DeadCode\Rector\Node\RemoveNonExistingVarAnnotationRector; @@ -15,7 +14,6 @@ use Rector\Php80\Rector\Identical\StrEndsWithRector; use Rector\Php80\Rector\Identical\StrStartsWithRector; use Rector\Php80\Rector\NotIdentical\StrContainsRector; -use Rector\Php81\Rector\FunctionLike\IntersectionTypesRector; use Rector\Php81\Rector\Property\ReadOnlyPropertyRector; use Worksome\CodingStyle\Rector\WorksomeSetList; @@ -39,7 +37,6 @@ public static function setup(RectorConfig $rectorConfig): void $rectorConfig->rule(RemoveUnusedVariableInCatchRector::class); $rectorConfig->rule(RemoveUnreachableStatementRector::class); - $rectorConfig->rule(RemoveDelegatingParentCallRector::class); $rectorConfig->rule(RemoveUselessParamTagRector::class); $rectorConfig->rule(RemoveUselessReturnTagRector::class); $rectorConfig->rule(RemoveNonExistingVarAnnotationRector::class); @@ -49,6 +46,5 @@ public static function setup(RectorConfig $rectorConfig): void $rectorConfig->rule(ClassPropertyAssignToConstructorPromotionRector::class); $rectorConfig->rule(ReadOnlyPropertyRector::class); - $rectorConfig->rule(IntersectionTypesRector::class); } }