Skip to content

Commit

Permalink
remove RenameClassNonPhpRector from the list, only for php for now
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Dec 23, 2022
1 parent c1f7d06 commit f5c8ac0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/PostRector/Rector/ClassRenamingPostRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use PhpParser\Node;
use Rector\Core\Configuration\RenamedClassesDataCollector;
use Rector\Core\Contract\Rector\RectorInterface;
use Rector\Core\NonPhpFile\Rector\RenameClassNonPhpRector;
use Rector\PostRector\Contract\Rector\PostRectorDependencyInterface;
use Rector\Renaming\NodeManipulator\ClassRenamer;
use Rector\Renaming\Rector\Name\RenameClassRector;
Expand All @@ -33,7 +32,7 @@ public function getPriority(): int
*/
public function getRectorDependencies(): array
{
return [RenameClassRector::class, RenameClassNonPhpRector::class];
return [RenameClassRector::class];
}

public function enterNode(Node $node): ?Node
Expand Down

0 comments on commit f5c8ac0

Please sign in to comment.