$ignoredAnnotations =
['covers', 'coversDefaultClass', 'coversNothing'
];
foreach ($ignoredAnnotations as $annotation) { if (isset($annotations['class'
][$annotation]) ||
isset($annotations['method'
][$annotation])) { return;
} } $sutFqcn =
($this->sutFqcnResolver
)($test);
if (!
$sutFqcn) { if ($this->warningOnSutNotFound
) { $test->
getTestResultObject()->
addWarning($test,
new Warning('Could not find the tested class.'
), 0
);
} return;
} $covers =
$sutFqcn;
if (!\
is_array($sutFqcn)) { $covers =
[$sutFqcn];
while ($parent =
get_parent_class($sutFqcn)) { $covers[] =
$parent;
$sutFqcn =
$parent;
}