diff --git a/src/Rector/MakeNewlineAfterIfRector.php b/src/Rector/MakeNewlineAfterIfRector.php deleted file mode 100644 index 3ac5321..0000000 --- a/src/Rector/MakeNewlineAfterIfRector.php +++ /dev/null @@ -1,41 +0,0 @@ -> - */ - public function getNodeTypes(): array - { - // local PHPUnit - if (is_dir(__DIR__ . '/../../vendor/phpunit')) { - return [StmtsAwareInterface::class]; - } - - return [If_::class]; - } - - /** - * @param StmtsAwareInterface|If_ $node - * @return array|null - */ - public function refactor(Node $node): ?array - { - if (! $node instanceof If_) { - return null; - } - - return [$node, new Nop()]; - } -}