We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef7b2f5 commit 4ab4b54Copy full SHA for 4ab4b54
src/Report/Html/Renderer/File.php
@@ -304,7 +304,7 @@ protected function renderSource(FileNode $node)
304
$popoverTitle = '';
305
306
if (array_key_exists($i, $coverageData)) {
307
- $numTests = count($coverageData[$i]);
+ $numTests = ($coverageData[$i] ? count($coverageData[$i]) : 0);
308
309
if ($coverageData[$i] === null) {
310
$trClass = ' class="warning"';
0 commit comments