From 6a2817efac43704c80c8bfbfa53891734464fc58 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 14 Jun 2023 19:06:22 +0700 Subject: [PATCH] Remove removeNode() method from AbstractRector I think it can be removed now as empty method. --- src/Rector/AbstractRector.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Rector/AbstractRector.php b/src/Rector/AbstractRector.php index 8353a58506c..5340fd0474d 100644 --- a/src/Rector/AbstractRector.php +++ b/src/Rector/AbstractRector.php @@ -326,13 +326,6 @@ protected function appendArgs(array $currentArgs, array $appendingArgs): array return $currentArgs; } - /** - * @deprecated Return NodeTraverser::REMOVE_NODE or array of changed nodes instead - */ - protected function removeNode(Node $node): void - { - } - /** * @param Node|Node[] $refactoredNode */