From 7c628a98d2a72b0e4ceefc5af3e4aa8bb368e1c6 Mon Sep 17 00:00:00 2001 From: pborreli Date: Mon, 5 Apr 2010 18:28:55 +0000 Subject: [PATCH] fixed spelling typo --- .../Components/DependencyInjection/Dumper/YamlDumper.php | 2 +- .../DependencyInjection/Loader/LoaderExtensionInterface.php | 2 +- src/Symfony/Components/OutputEscaper/ArrayDecorator.php | 2 +- src/Symfony/Components/OutputEscaper/IteratorDecorator.php | 4 ++-- src/Symfony/Components/Routing/CompiledRoute.php | 2 +- src/Symfony/Components/Routing/Loader/YamlFileLoader.php | 2 +- src/Symfony/Components/Yaml/Inline.php | 2 +- src/Symfony/Foundation/EventDispatcher.php | 2 +- .../Framework/DoctrineBundle/Command/DoctrineCommand.php | 2 +- .../ProfilerBundle/DataCollector/DataCollectorManager.php | 6 +++--- .../DependencyInjection/SwiftmailerExtension.php | 2 +- src/Symfony/Framework/WebBundle/Util/Filesystem.php | 2 +- src/Symfony/Framework/WebBundle/Util/Finder.php | 4 ++-- src/Symfony/Framework/WebBundle/Util/Glob.php | 2 +- 14 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/Symfony/Components/DependencyInjection/Dumper/YamlDumper.php b/src/Symfony/Components/DependencyInjection/Dumper/YamlDumper.php index 1a5a9191f6..c614dad630 100644 --- a/src/Symfony/Components/DependencyInjection/Dumper/YamlDumper.php +++ b/src/Symfony/Components/DependencyInjection/Dumper/YamlDumper.php @@ -144,7 +144,7 @@ class YamlDumper extends Dumper } /** - * @throws \RuntimeException When trying to dump object or ressource + * @throws \RuntimeException When trying to dump object or resource */ protected function dumpValue($value) { diff --git a/src/Symfony/Components/DependencyInjection/Loader/LoaderExtensionInterface.php b/src/Symfony/Components/DependencyInjection/Loader/LoaderExtensionInterface.php index cd94acfb56..aee78181a5 100644 --- a/src/Symfony/Components/DependencyInjection/Loader/LoaderExtensionInterface.php +++ b/src/Symfony/Components/DependencyInjection/Loader/LoaderExtensionInterface.php @@ -53,7 +53,7 @@ interface LoaderExtensionInterface public function getXsdValidationBasePath(); /** - * Returns the recommanded alias to use in XML. + * Returns the recommended alias to use in XML. * * This alias is also the mandatory prefix to use when using YAML. * diff --git a/src/Symfony/Components/OutputEscaper/ArrayDecorator.php b/src/Symfony/Components/OutputEscaper/ArrayDecorator.php index e024a6bd87..505aef8519 100644 --- a/src/Symfony/Components/OutputEscaper/ArrayDecorator.php +++ b/src/Symfony/Components/OutputEscaper/ArrayDecorator.php @@ -89,7 +89,7 @@ class ArrayDecorator extends GetterDecorator implements \Iterator, \ArrayAccess, /** * Returns true if the supplied offset isset in the array (as required by the ArrayAccess interface). * - * @param string $offset The offset of the value to check existance of + * @param string $offset The offset of the value to check existence of * * @return bool true if the offset isset; false otherwise */ diff --git a/src/Symfony/Components/OutputEscaper/IteratorDecorator.php b/src/Symfony/Components/OutputEscaper/IteratorDecorator.php index ee02214257..ca00795b45 100644 --- a/src/Symfony/Components/OutputEscaper/IteratorDecorator.php +++ b/src/Symfony/Components/OutputEscaper/IteratorDecorator.php @@ -33,7 +33,7 @@ class IteratorDecorator extends ObjectDecorator implements \Iterator, \Countable private $iterator; /** - * Constructs a new escaping iteratoror using the escaping method and value supplied. + * Constructs a new escaping iterator using the escaping method and value supplied. * * @param string $escaper The escaping method to use * @param \Traversable $value The iterator to escape @@ -100,7 +100,7 @@ class IteratorDecorator extends ObjectDecorator implements \Iterator, \Countable /** * Returns true if the supplied offset isset in the array (as required by the ArrayAccess interface). * - * @param string $offset The offset of the value to check existance of + * @param string $offset The offset of the value to check existence of * * @return bool true if the offset isset; false otherwise */ diff --git a/src/Symfony/Components/Routing/CompiledRoute.php b/src/Symfony/Components/Routing/CompiledRoute.php index 2c6eae43f4..1e2b287f19 100644 --- a/src/Symfony/Components/Routing/CompiledRoute.php +++ b/src/Symfony/Components/Routing/CompiledRoute.php @@ -31,7 +31,7 @@ class CompiledRoute * * @param Route $route A original Route instance * @param string $staticPrefix The static prefix of the compiled route - * @param string $regex The regular expresion to use to match this route + * @param string $regex The regular expression to use to match this route * @param array $tokens An array of tokens to use to generate URL for this route * @param array $variables An array of variables */ diff --git a/src/Symfony/Components/Routing/Loader/YamlFileLoader.php b/src/Symfony/Components/Routing/Loader/YamlFileLoader.php index 4b8ce307de..c97f7a1b59 100644 --- a/src/Symfony/Components/Routing/Loader/YamlFileLoader.php +++ b/src/Symfony/Components/Routing/Loader/YamlFileLoader.php @@ -63,7 +63,7 @@ class YamlFileLoader extends FileLoader } /** - * @throws \InvalidArgumentException When coonfig pattern is not defined for the given route + * @throws \InvalidArgumentException When config pattern is not defined for the given route */ protected function parseRoute(RouteCollection $collection, $name, $config, $file) { diff --git a/src/Symfony/Components/Yaml/Inline.php b/src/Symfony/Components/Yaml/Inline.php index cd07d9c6b6..7e3c630c89 100644 --- a/src/Symfony/Components/Yaml/Inline.php +++ b/src/Symfony/Components/Yaml/Inline.php @@ -70,7 +70,7 @@ class Inline * * @return string The YAML string representing the PHP array * - * @throws Exception When trying to dump PHP ressource + * @throws Exception When trying to dump PHP resource */ static public function dump($value) { diff --git a/src/Symfony/Foundation/EventDispatcher.php b/src/Symfony/Foundation/EventDispatcher.php index 6cbf84b13a..3919358680 100644 --- a/src/Symfony/Foundation/EventDispatcher.php +++ b/src/Symfony/Foundation/EventDispatcher.php @@ -16,7 +16,7 @@ use Symfony\Components\DependencyInjection\ContainerInterface; */ /** - * This EventDispatcher implementation uses a DependencyInjection contrainer to + * This EventDispatcher implementation uses a DependencyInjection container to * lazy load listeners. * * @package symfony diff --git a/src/Symfony/Framework/DoctrineBundle/Command/DoctrineCommand.php b/src/Symfony/Framework/DoctrineBundle/Command/DoctrineCommand.php index a560aafc57..1216564d0f 100644 --- a/src/Symfony/Framework/DoctrineBundle/Command/DoctrineCommand.php +++ b/src/Symfony/Framework/DoctrineBundle/Command/DoctrineCommand.php @@ -24,7 +24,7 @@ use Doctrine\Common\Cli\CliController as DoctrineCliController; */ /** - * Base class for Doctrine consol commands to extend from. + * Base class for Doctrine console commands to extend from. * * @package symfony * @subpackage console diff --git a/src/Symfony/Framework/ProfilerBundle/DataCollector/DataCollectorManager.php b/src/Symfony/Framework/ProfilerBundle/DataCollector/DataCollectorManager.php index bd23e5f384..b4e94d5506 100644 --- a/src/Symfony/Framework/ProfilerBundle/DataCollector/DataCollectorManager.php +++ b/src/Symfony/Framework/ProfilerBundle/DataCollector/DataCollectorManager.php @@ -82,7 +82,7 @@ class DataCollectorManager { $config = $this->container->findAnnotatedServiceIds('data_collector'); $ids = array(); - $coreColectors = array(); + $coreCollectors = array(); $userCollectors = array(); foreach ($config as $id => $attributes) { @@ -91,7 +91,7 @@ class DataCollectorManager if (isset($attributes[0]['core']) && $attributes[0]['core']) { - $coreColectors[$collector->getName()] = $collector; + $coreCollectors[$collector->getName()] = $collector; } else { @@ -99,6 +99,6 @@ class DataCollectorManager } } - return $this->collectors = array_merge($coreColectors, $userCollectors); + return $this->collectors = array_merge($coreCollectors, $userCollectors); } } diff --git a/src/Symfony/Framework/SwiftmailerBundle/DependencyInjection/SwiftmailerExtension.php b/src/Symfony/Framework/SwiftmailerBundle/DependencyInjection/SwiftmailerExtension.php index 56eaaccd57..e8584dac7f 100644 --- a/src/Symfony/Framework/SwiftmailerBundle/DependencyInjection/SwiftmailerExtension.php +++ b/src/Symfony/Framework/SwiftmailerBundle/DependencyInjection/SwiftmailerExtension.php @@ -137,7 +137,7 @@ class SwiftMailerExtension extends LoaderExtension } /** - * Returns the recommanded alias to use in XML. + * Returns the recommended alias to use in XML. * * This alias is also the mandatory prefix to use when using YAML. * diff --git a/src/Symfony/Framework/WebBundle/Util/Filesystem.php b/src/Symfony/Framework/WebBundle/Util/Filesystem.php index 63b06f4b17..8288d9b002 100644 --- a/src/Symfony/Framework/WebBundle/Util/Filesystem.php +++ b/src/Symfony/Framework/WebBundle/Util/Filesystem.php @@ -24,7 +24,7 @@ class Filesystem * * This method only copies the file if the origin file is newer than the target file. * - * By default, if the target already exists, it is not overriden. + * By default, if the target already exists, it is not overridden. * * To override existing files, pass the "override" option. * diff --git a/src/Symfony/Framework/WebBundle/Util/Finder.php b/src/Symfony/Framework/WebBundle/Util/Finder.php index c163ccc2ea..e17de759b0 100644 --- a/src/Symfony/Framework/WebBundle/Util/Finder.php +++ b/src/Symfony/Framework/WebBundle/Util/Finder.php @@ -241,7 +241,7 @@ class Finder * * Currently supports Subversion, CVS, DARCS, Gnu Arch, Monotone, Bazaar-NG, GIT, Mercurial * - * @param bool $ignore falase when version control directories shall be included (default is true) + * @param bool $ignore false when version control directories shall be included (default is true) * * @return Finder Current object */ @@ -279,7 +279,7 @@ class Finder /** * Executes function or method for each element. * - * Element match if functino or method returns true. + * Element match if function or method returns true. * * $finder->exec('myfunction'); * $finder->exec(array($object, 'mymethod')); diff --git a/src/Symfony/Framework/WebBundle/Util/Glob.php b/src/Symfony/Framework/WebBundle/Util/Glob.php index 12db4cb607..9748e64b35 100644 --- a/src/Symfony/Framework/WebBundle/Util/Glob.php +++ b/src/Symfony/Framework/WebBundle/Util/Glob.php @@ -50,7 +50,7 @@ class Glob } /** - * Returns a compiled regex which is the equiavlent of the globbing pattern. + * Returns a compiled regex which is the equivalent of the globbing pattern. * * @param string $glob pattern * @return string regex