diff --git a/src/Rules/Deprecations/InheritanceOfDeprecatedInterfaceRule.php b/src/Rules/Deprecations/InheritanceOfDeprecatedInterfaceRule.php index 3ab10e2..2f79fb8 100644 --- a/src/Rules/Deprecations/InheritanceOfDeprecatedInterfaceRule.php +++ b/src/Rules/Deprecations/InheritanceOfDeprecatedInterfaceRule.php @@ -32,10 +32,6 @@ public function getNodeType(): string public function processNode(Node $node, Scope $scope): array { - if ($node->extends === null) { - return []; - } - $interfaceName = isset($node->namespacedName) ? (string) $node->namespacedName : (string) $node->name;