Skip to content

Commit 5053e44

Browse files
committed
Displays optional project name instead of absolute root also in inactive breadcrumbs
1 parent 078c8d5 commit 5053e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CodeCoverage/Report/HTML/Renderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ protected function getInactiveBreadcrumb(PHP_CodeCoverage_Report_Node $node, $pa
257257
return sprintf(
258258
' <li><a href="%sindex.html">%s</a></li>' . "\n",
259259
$pathToRoot,
260-
$node->getName()
260+
$this->stripProjectPrefixFromNodeName($node)
261261
);
262262
}
263263

0 commit comments

Comments
 (0)