1
0
Fork 0

Fix wording

pull/1267/merge
Jordi Boggiano 2012-10-31 18:34:27 +01:00
parent 5d78fa6ce6
commit 1c39ad779b
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ class Problem
}
if (!$this->pool->whatProvides($job['packageName'])) {
return "\n - The requested package ".$job['packageName'].' could not be found in any version, you most likely did a typo in the package name.';
return "\n - The requested package ".$job['packageName'].' could not be found in any version, there may be a typo in the package name.';
}
return "\n - The requested package ".$job['packageName'].$this->constraintToText($job['constraint']).' could not be found.';

View File

@ -75,7 +75,7 @@ class SolverTest extends TestCase
} catch (SolverProblemsException $e) {
$problems = $e->getProblems();
$this->assertEquals(1, count($problems));
$this->assertEquals("\n - The requested package b could not be found in any version, you most likely did a typo in the package name.", $problems[0]->getPrettyString());
$this->assertEquals("\n - The requested package b could not be found in any version, there may be a typo in the package name.", $problems[0]->getPrettyString());
}
}