diff --git a/rules/CodeQuality/Rector/ClassMethod/ReplaceTestFunctionPrefixWithAttributeRector.php b/rules/CodeQuality/Rector/ClassMethod/ReplaceTestFunctionPrefixWithAttributeRector.php deleted file mode 100644 index 485c4935..00000000 --- a/rules/CodeQuality/Rector/ClassMethod/ReplaceTestFunctionPrefixWithAttributeRector.php +++ /dev/null @@ -1,66 +0,0 @@ -assertSame(2, 1+1); - } -} -CODE_SAMPLE - , - <<<'CODE_SAMPLE' -class SomeTest extends \PHPUnit\Framework\TestCase -{ - #[Test] - public function onePlusOneShouldBeTwo() - { - $this->assertSame(2, 1+1); - } -} -CODE_SAMPLE - ), - ]); - } - - /** - * @return array> - */ - public function getNodeTypes(): array - { - return [ClassMethod::class]; - } - - /** - * @param ClassMethod $node - */ - public function refactor(Node $node): ?Node - { - throw new ShouldNotHappenException(sprintf( - '"%s" is deprecated and should not be used anymore. Remove it from your config files.', - self::class, - )); - } -}