Skip to content

Commit

Permalink
[Privatization] Remove ReplaceStringWithClassConstantRector as rather…
Browse files Browse the repository at this point in the history
… dynamic and can lead to unexpected results (#3443)
  • Loading branch information
TomasVotruba committed Mar 2, 2023
1 parent f6305f0 commit c9a621d
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 488 deletions.
3 changes: 3 additions & 0 deletions packages/NodeRemoval/NodeRemover.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ public function removeNode(Node $node): void
$this->rectorChangeCollector->notifyNodeFileInfo($node);
}

/**
* @api used in rector-doctrine
*/
public function removeNodeFromStatements(
Class_ | ClassMethod | Function_ $nodeWithStatements,
Node $toBeRemovedNode
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

48 changes: 0 additions & 48 deletions rules/Privatization/NodeFactory/ClassConstantFetchValueFactory.php

This file was deleted.

0 comments on commit c9a621d

Please sign in to comment.