Browse Source

Update minimum-stability documentation

Rob Loach 12 years ago
parent
commit
4f922ffa28
2 changed files with 6 additions and 5 deletions
  1. 5 4
      doc/04-schema.md
  2. 1 1
      src/Composer/DependencyResolver/SolverProblemsException.php

+ 5 - 4
doc/04-schema.md

@@ -472,16 +472,17 @@ Optional.
 ### minimum-stability <span>(root-only)</span>
 
 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 <span>(root-only)</span>
 
 Custom package repositories to use.

+ 1 - 1
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;