Skip to content

Commit

Permalink
fix: remove unavailable Rector rules
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke committed Oct 10, 2023
1 parent 9693940 commit 1caffa2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/WorksomeRectorConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand All @@ -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);
Expand All @@ -49,6 +46,5 @@ public static function setup(RectorConfig $rectorConfig): void
$rectorConfig->rule(ClassPropertyAssignToConstructorPromotionRector::class);

$rectorConfig->rule(ReadOnlyPropertyRector::class);
$rectorConfig->rule(IntersectionTypesRector::class);
}
}

0 comments on commit 1caffa2

Please sign in to comment.