Browse Source

Merge remote-tracking branch 'naderman/improve-not-found-error' into 1.5

Jordi Boggiano 7 years ago
parent
commit
a691a179e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Command/InitCommand.php

+ 1 - 1
src/Composer/Command/InitCommand.php

@@ -653,7 +653,7 @@ EOT
                 ));
             }
             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,
                 $this->getMinimumStability($input)
             ));