mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-26 20:53:31 +00:00
bootstrap: add note on unloaded composer
This commit is contained in:
parent
a20b3f91b9
commit
e79a5cb7c3
|
@ -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)
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue
Block a user