bootstrap: add note on unloaded composer

This commit is contained in:
TomasVotruba 2018-02-16 12:36:48 +01:00
parent a20b3f91b9
commit e79a5cb7c3

View File

@ -12,7 +12,11 @@ $possibleAutoloadPaths = [
foreach ($possibleAutoloadPaths as $possibleAutoloadPath) {
if (is_file($possibleAutoloadPath)) {
require_once $possibleAutoloadPath;
break;
return;
}
}
throw new RuntimeException(sprintf(
'Composer autoload.php was not found in paths "%s". Have you run "composer update"?',
implode('", "', $possibleAutoloadPaths)
));