diff --git a/src/CodeCoverage/Report/Node.php b/src/CodeCoverage/Report/Node.php index 223b50c31..0475d8ecd 100644 --- a/src/CodeCoverage/Report/Node.php +++ b/src/CodeCoverage/Report/Node.php @@ -100,7 +100,7 @@ public function getId() public function getPath() { if ($this->path === null) { - if ($this->parent === null || $this->parent->getPath() === null) { + if ($this->parent === null || $this->parent->getPath() === null || $this->parent->getPath() === false) { $this->path = $this->name; } else { $this->path = $this->parent->getPath() . '/' . $this->name;