diff --git a/rules/CodeQuality/Rector/BooleanAnd/RemoveUselessIsObjectCheckRector.php b/rules/CodeQuality/Rector/BooleanAnd/RemoveUselessIsObjectCheckRector.php deleted file mode 100644 index f1484b843e0..00000000000 --- a/rules/CodeQuality/Rector/BooleanAnd/RemoveUselessIsObjectCheckRector.php +++ /dev/null @@ -1,46 +0,0 @@ -> - */ - public function getNodeTypes(): array - { - return [BooleanAnd::class]; - } - - /** - * @param BooleanAnd $node - */ - public function refactor(Node $node): ?Node - { - throw new ShouldNotHappenException(sprintf( - '"%s" rule is deprecated, as it handles a niche is_object() with instanceof case that is not part of the PHP upgrade path', - self::class - )); - } -}