1
0
Fork 0

Less confusing error message

pull/175/head
Jordi Boggiano 2011-12-24 14:57:05 +01:00
parent 6ac38f111d
commit 9b2694351b
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ EOT
} }
if ($pool->whatProvides($job['packageName'])) { if ($pool->whatProvides($job['packageName'])) {
throw new \UnexpectedValueException('Your version constraint for package '.$job['packageName'].' does not match any existing version, if it only has -dev versions make sure you include -dev in your version constraint.'); throw new \UnexpectedValueException('Package '.$job['packageName'].' can not be installed, either because its version constraint is incorrect, or because one of its dependencies was not found.');
} }
throw new \UnexpectedValueException('Package '.$job['packageName'].' was not found in the package pool, check the name for typos.'); throw new \UnexpectedValueException('Package '.$job['packageName'].' was not found in the package pool, check the name for typos.');
} }