浏览代码

Fix wording

Jordi Boggiano 12 年之前
父节点
当前提交
1c39ad779b
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/Composer/DependencyResolver/Problem.php
  2. 1 1
      tests/Composer/Test/DependencyResolver/SolverTest.php

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

+ 1 - 1
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());
         }
     }