diff --git a/src/Symfony/Component/Finder/Shell/Command.php b/src/Symfony/Component/Finder/Shell/Command.php index 1a060c8cae..85e98043f0 100644 --- a/src/Symfony/Component/Finder/Shell/Command.php +++ b/src/Symfony/Component/Finder/Shell/Command.php @@ -182,7 +182,7 @@ class Command public function get($label) { if (!isset($this->labels[$label])) { - throw new \RuntimeException('Label "'.$label.'" does not exists.'); + throw new \RuntimeException('Label "'.$label.'" does not exist.'); } return $this->bits[$this->labels[$label]]; diff --git a/src/Symfony/Component/HttpKernel/Profiler/ProfilerStorageInterface.php b/src/Symfony/Component/HttpKernel/Profiler/ProfilerStorageInterface.php index 3bb0d68ffd..f4b9e5e212 100644 --- a/src/Symfony/Component/HttpKernel/Profiler/ProfilerStorageInterface.php +++ b/src/Symfony/Component/HttpKernel/Profiler/ProfilerStorageInterface.php @@ -35,7 +35,7 @@ interface ProfilerStorageInterface /** * Reads data associated with the given token. * - * The method returns false if the token does not exists in the storage. + * The method returns false if the token does not exist in the storage. * * @param string $token A token * diff --git a/src/Symfony/Component/Routing/Exception/RouteNotFoundException.php b/src/Symfony/Component/Routing/Exception/RouteNotFoundException.php index 4d5f288e7e..fd275bebe9 100644 --- a/src/Symfony/Component/Routing/Exception/RouteNotFoundException.php +++ b/src/Symfony/Component/Routing/Exception/RouteNotFoundException.php @@ -12,7 +12,7 @@ namespace Symfony\Component\Routing\Exception; /** - * Exception thrown when a route does not exists + * Exception thrown when a route does not exist * * @author Alexandre Salomé * diff --git a/src/Symfony/Component/Templating/Tests/Loader/ChainLoaderTest.php b/src/Symfony/Component/Templating/Tests/Loader/ChainLoaderTest.php index 3f3fc00df7..62a3dc2521 100644 --- a/src/Symfony/Component/Templating/Tests/Loader/ChainLoaderTest.php +++ b/src/Symfony/Component/Templating/Tests/Loader/ChainLoaderTest.php @@ -45,7 +45,7 @@ class ChainLoaderTest extends \PHPUnit_Framework_TestCase { $loader = new ProjectTemplateLoader1(array($this->loader1, $this->loader2)); $this->assertFalse($loader->load(new TemplateReference('bar', 'php')), '->load() returns false if the template is not found'); - $this->assertFalse($loader->load(new TemplateReference('foo', 'php')), '->load() returns false if the template does not exists for the given renderer'); + $this->assertFalse($loader->load(new TemplateReference('foo', 'php')), '->load() returns false if the template does not exist for the given renderer'); $this->assertInstanceOf( 'Symfony\Component\Templating\Storage\FileStorage', $loader->load(new TemplateReference('foo.php', 'php')), diff --git a/src/Symfony/Component/Templating/Tests/Loader/FilesystemLoaderTest.php b/src/Symfony/Component/Templating/Tests/Loader/FilesystemLoaderTest.php index 3168a62289..8eb663637d 100644 --- a/src/Symfony/Component/Templating/Tests/Loader/FilesystemLoaderTest.php +++ b/src/Symfony/Component/Templating/Tests/Loader/FilesystemLoaderTest.php @@ -61,7 +61,7 @@ class FilesystemLoaderTest extends \PHPUnit_Framework_TestCase $loader = new ProjectTemplateLoader2($pathPattern); $loader->setDebugger($debugger = new \Symfony\Component\Templating\Tests\Fixtures\ProjectTemplateDebugger()); - $this->assertFalse($loader->load(new TemplateReference('foo.xml', 'php')), '->load() returns false if the template does not exists for the given engine'); + $this->assertFalse($loader->load(new TemplateReference('foo.xml', 'php')), '->load() returns false if the template does not exist for the given engine'); $this->assertTrue($debugger->hasMessage('Failed loading template'), '->load() logs a "Failed loading template" message if the template is not found'); $loader = new ProjectTemplateLoader2(array(self::$fixturesPath.'/null/%name%', $pathPattern)); diff --git a/src/Symfony/Component/Validator/Tests/Mapping/GetterMetadataTest.php b/src/Symfony/Component/Validator/Tests/Mapping/GetterMetadataTest.php index d38225aa2e..8682ab050e 100644 --- a/src/Symfony/Component/Validator/Tests/Mapping/GetterMetadataTest.php +++ b/src/Symfony/Component/Validator/Tests/Mapping/GetterMetadataTest.php @@ -28,7 +28,7 @@ class GetterMetadataTest extends \PHPUnit_Framework_TestCase public function testGetPropertyValueFromPublicGetter() { // private getters don't work yet because ReflectionMethod::setAccessible() - // does not exists yet in a stable PHP release + // does not exist yet in a stable PHP release $entity = new Entity('foobar'); $metadata = new GetterMetadata(self::CLASSNAME, 'internal');