Skip to content

Commit 381b419

Browse files
committed
Fixes undefined name property
Fixes #129
1 parent 4c90917 commit 381b419

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)