[Doctrine*Bundle] Fixed Typo

This commit is contained in:
Pascal Borreli 2011-03-01 18:47:13 +01:00
parent 19f931a231
commit 64b50e1c46
7 changed files with 7 additions and 7 deletions

View File

@ -187,7 +187,7 @@ abstract class AbstractDoctrineExtension extends Extension
}
/**
* Register all the collected mapping information with the object manager by registering the appropiate mapping drivers.
* Register all the collected mapping information with the object manager by registering the appropriate mapping drivers.
*
* @param array $objectManager
* @param Container $container

View File

@ -36,7 +36,7 @@ entities exist and possibly if their mapping information contains errors or not.
<info>./app/console doctrine:mapping:info</info>
If you are using multiple entitiy managers you can pick your choice with the <info>--em</info> option:
If you are using multiple entity managers you can pick your choice with the <info>--em</info> option:
<info>./app/console doctrine:mapping:info --em=default</info>
EOT

View File

@ -393,7 +393,7 @@ class DoctrineExtension extends AbstractDoctrineExtension
* There are two possible runtime scenarios:
*
* 1. If the EntityManager was defined before, override only the new calls to Doctrine\ORM\Configuration
* 2. If the EntityManager was not defined beforeefore, gather all the defaults for not specified options and set all the information.
* 2. If the EntityManager was not defined before, gather all the defaults for not specified options and set all the information.
*
* @param array $entityManager A configured ORM entity manager.
* @param ContainerBuilder $container A ContainerBuilder instance

View File

@ -683,7 +683,7 @@ abstract class AbstractDoctrineExtensionTest extends TestCase
protected function assertDICConstructorArguments($definition, $args)
{
$this->assertEquals($args, $definition->getArguments(), "Expected and actual DIC Service constructor arguments of definition '" . $definition->getClass()."' dont match.");
$this->assertEquals($args, $definition->getArguments(), "Expected and actual DIC Service constructor arguments of definition '" . $definition->getClass()."' don't match.");
}
protected function assertDICDefinitionMethodCallAt($pos, $definition, $methodName, array $params = null)

View File

@ -49,6 +49,6 @@ class XMLSchemaTest extends \PHPUnit_Framework_TestCase
$found = true;
}
$this->assertTrue($found, "Neither <doctrine:orm> nor <doctrine:dbal> elements found in given XML. Are namespace sconfigured correctly?");
$this->assertTrue($found, "Neither <doctrine:orm> nor <doctrine:dbal> elements found in given XML. Are namespaces configured correctly?");
}
}

View File

@ -60,7 +60,7 @@ class ProxyCacheWarmer implements CacheWarmerInterface
throw new \RuntimeException(sprintf('Doctrine Proxy directory (%s) is not writeable for the current system user.', $proxyCacheDir));
}
// if proxys are autogenerated we don't need to generate them in the cache warmer.
// if proxies are autogenerated we don't need to generate them in the cache warmer.
if ($this->container->getParameter('doctrine.odm.mongodb.auto_generate_proxy_classes') === true) {
return;
}

View File

@ -16,7 +16,7 @@ use Symfony\Bundle\DoctrineMongoDBBundle\CacheWarmer\HydratorCacheWarmer;
class HydratorCacheWarmerTest extends \Symfony\Bundle\DoctrineMongoDBBundle\Tests\TestCase
{
/**
* This is not necessarily a good test, it doesnt generate any hydrators
* This is not necessarily a good test, it doesn't generate any hydrators
* because there are none in the AnnotationsBundle. However that is
* rather a task of doctrine to test. We touch the lines here and
* verify that the container is called correctly for the relevant information.