1
0
Fork 0

Improve the error on init/require if a package could not be found

pull/6795/head
Nils Adermann 2017-11-09 13:04:07 +01:00
parent e3a23c0047
commit 685bc08c0a
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ EOT
)); ));
} }
throw new \InvalidArgumentException(sprintf( throw new \InvalidArgumentException(sprintf(
'Could not find package %s at any version for your minimum-stability (%s). Check the package spelling or your minimum-stability', 'Could not find a matching version of package %s. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (%s).',
$name, $name,
$this->getMinimumStability($input) $this->getMinimumStability($input)
)); ));