diff --git a/rules/Naming/Rector/ClassMethod/RenameParamToMatchTypeRector.php b/rules/Naming/Rector/ClassMethod/RenameParamToMatchTypeRector.php deleted file mode 100644 index 0484077a8c4..00000000000 --- a/rules/Naming/Rector/ClassMethod/RenameParamToMatchTypeRector.php +++ /dev/null @@ -1,65 +0,0 @@ -> - */ - public function getNodeTypes(): array - { - return [ClassMethod::class]; - } - - /** - * @param ClassMethod $node - */ - public function refactor(Node $node): ?Node - { - throw new ShouldNotHappenException(sprintf( - '"%s" rule is deprecated, as it belongs to coding standard rather than refactoring and can cause conflicting variable names', - self::class - )); - } -}