Merge pull request #4847 from jeffersoncarpenter/master
Update Error Message In SolverProblemsException.phppull/4849/head
commit
a9cb931896
|
@ -41,7 +41,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\nRead <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.";
|
||||
$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://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.\n\nRead <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.";
|
||||
}
|
||||
|
||||
if ($hasExtensionProblems) {
|
||||
|
|
|
@ -709,7 +709,7 @@ class SolverTest extends TestCase
|
|||
$msg .= "Potential causes:\n";
|
||||
$msg .= " - A typo in the package name\n";
|
||||
$msg .= " - The package is not available in a stable-enough version according to your minimum-stability setting\n";
|
||||
$msg .= " see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.\n\n";
|
||||
$msg .= " see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.\n\n";
|
||||
$msg .= "Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.";
|
||||
$this->assertEquals($msg, $e->getMessage());
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ install
|
|||
Potential causes:
|
||||
- A typo in the package name
|
||||
- The package is not available in a stable-enough version according to your minimum-stability setting
|
||||
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
|
||||
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
|
||||
|
||||
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
|
||||
|
||||
|
|
Loading…
Reference in New Issue