return InClassNode::
class;
} /**
* @param InClassNode $node
*
* @return array<array-key, RuleError|string>
*/
public function processNode(Node
$node, Scope
$scope): array
{ if ($this->
hasCovers($node)) { return [];
} if ($this->
isTestClass($node)) { return ['Test classes must have @covers annotation'
];
} return [];
} private function isTestClass(InClassNode
$node): bool
{