Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed not working codecoverage under windows
  • Loading branch information
Patrick Hausmann committed Feb 12, 2014
commit 10d12bc454fcc49a3805aa761e4179de9c4d2797
4 changes: 3 additions & 1 deletion PHP/CodeCoverage/Report/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ public function getId()
public function getPath()
{
if ($this->path === NULL) {
if ($this->parent === NULL) {
if ($this->parent === NULL ||
$this->parent->getPath() == NULL
) {
$this->path = $this->name;
} else {
$this->path = $this->parent->getPath() . '/' . $this->name;
Expand Down