diff --git a/doc/04-schema.md b/doc/04-schema.md index c65961d7c..ab95bb79c 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -472,16 +472,17 @@ Optional. ### minimum-stability (root-only) This defines the default behavior for filtering packages by stability. This -defaults to `dev` but in the future will be switched to `stable`. As such if -you rely on a default of `dev` you should specify it in your file to avoid -surprises. +defaults to `stable`, so if you rely on a `dev` package, you should specify +it in your file to avoid surprises. -All versions of each package is checked for stability, and those that are less +All versions of each package are checked for stability, and those that are less stable than the `minimum-stability` setting will be ignored when resolving your project dependencies. Specific changes to the stability requirements of a given package can be done in `require` or `require-dev` (see [package links](#package-links)). +Available options are `dev`, `alpha`, `beta`, and `stable`. + ### repositories (root-only) Custom package repositories to use. diff --git a/src/Composer/DependencyResolver/SolverProblemsException.php b/src/Composer/DependencyResolver/SolverProblemsException.php index 4f4a25ab5..adf67da99 100644 --- a/src/Composer/DependencyResolver/SolverProblemsException.php +++ b/src/Composer/DependencyResolver/SolverProblemsException.php @@ -36,7 +36,7 @@ class SolverProblemsException extends \RuntimeException } if (strpos($text, 'could not be found') || strpos($text, 'no matching package found')) { - $text .= "\nPotential causes:\n - A typo in the package name\n - The package is not available in a stable-enough version according to your minimum-stability setting\n see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.\n"; + $text .= "\nPotential causes:\n - A typo in the package name\n - The package is not available in a stable-enough version according to your minimum-stability setting\n see http://getcomposer.org/doc/04-schema.md#minimum-stability for more details.\n"; } return $text;