diff --git a/rules/Php73/Rector/FuncCall/JsonThrowOnErrorRector.php b/rules/Php73/Rector/FuncCall/JsonThrowOnErrorRector.php deleted file mode 100644 index 8cc4656e027..00000000000 --- a/rules/Php73/Rector/FuncCall/JsonThrowOnErrorRector.php +++ /dev/null @@ -1,62 +0,0 @@ -> - */ - public function getNodeTypes(): array - { - return NodeGroup::STMTS_AWARE; - } - - public function refactor(Node $node): ?Node - { - throw new ShouldNotHappenException(sprintf( - '"%s" rule is deprecated, as it can cause BC breaks. The thrown JsonException has to be handled manually on every call site', - self::class - )); - } - - public function provideMinPhpVersion(): int - { - return PhpVersion::PHP_73; - } -}