/**
* @param New_ $node
*
* @return array<array-key, RuleError|string>
*/
public function processNode(Node
$node, Scope
$scope): array
{ if (!
$scope->
isInClass()) { return [];
} if ($this->
isInTestClass($scope)) { // if in a test namespace, don't care
return [];
} if (!
$node->class instanceof Name
) { return [];
} if (!\
in_array($node->class->
toString(), self::ASSOCIATIONS_WITH_AUTOLOAD, true
)) { return [];
}