Skip to content

Commit 5f47187

Browse files
authored
Merge pull request #130 from LukeWCS/fix-129
Fixes undefined name property
2 parents 4c90917 + 381b419 commit 5f47187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/TestRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private function setBasedir()
170170
{
171171
throw new TestException('composer.json is unreadable or invalid json');
172172
}
173-
$this->namespace = $composer->name;
173+
$this->namespace = $composer->name ?? '';
174174
}
175175

176176
/**

0 commit comments

Comments
 (0)