From 1c39ad779b8b85d538552fe3a3a8ca078a6c01bb Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 31 Oct 2012 18:34:27 +0100 Subject: [PATCH] Fix wording --- src/Composer/DependencyResolver/Problem.php | 2 +- tests/Composer/Test/DependencyResolver/SolverTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/DependencyResolver/Problem.php b/src/Composer/DependencyResolver/Problem.php index 4aa0532b0..e199110ee 100644 --- a/src/Composer/DependencyResolver/Problem.php +++ b/src/Composer/DependencyResolver/Problem.php @@ -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.'; diff --git a/tests/Composer/Test/DependencyResolver/SolverTest.php b/tests/Composer/Test/DependencyResolver/SolverTest.php index c674fa559..5f8c33936 100644 --- a/tests/Composer/Test/DependencyResolver/SolverTest.php +++ b/tests/Composer/Test/DependencyResolver/SolverTest.php @@ -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()); } }