Skip to content

Commit 9dc6489

Browse files
[1.x] [#651] Don't do anything if no phpunit files are present (#652)
* [#651] Don't do anything if no phpunit files are present * Update InteractsWithDockerComposeServices.php --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent f317d37 commit 9dc6489

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Console/Concerns/InteractsWithDockerComposeServices.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ protected function configurePhpUnit()
170170
{
171171
if (! file_exists($path = $this->laravel->basePath('phpunit.xml'))) {
172172
$path = $this->laravel->basePath('phpunit.xml.dist');
173+
174+
if (! file_exists($path)) {
175+
return;
176+
}
173177
}
174178

175179
$phpunit = file_get_contents($path);

0 commit comments

Comments
 (0)