Skip to content

Commit

Permalink
Add warning about empty project
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio committed Nov 21, 2019
1 parent 093d8dc commit 3b5bb75
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/phpDocumentor/Application/Stage/Parser/CollectFiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ static function ($value) {
);
$this->log('OK');

if (count($files) === 0) {
$this->log('Your project seems to be empty!', LogLevel::WARNING);
$this->log('Where are the files??!!!', LogLevel::DEBUG);
}

return $payload->withFiles($files);
}

Expand Down

0 comments on commit 3b5bb75

Please sign in to comment.