Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed typos #261

Merged
merged 1 commit into from

4 participants

@pborreli

No description provided.

@doctrinebot
Collaborator

Hello,

thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

http://doctrine-project.org/jira/browse/DCOM-182

@pborreli

oh boy, now i have to fix typo of a bot ... positing -> posting

@guilhermeblanco

@pborreli u incredible grammar fixer. Kudos! =D

@guilhermeblanco guilhermeblanco merged commit d7987c9 into doctrine:master
@pborreli pborreli deleted the pborreli:typos branch
@pborreli

@stof i don't see any positing typo in it, I guess the bot became alive at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 11, 2013
  1. @pborreli

    Fixed typos

    pborreli authored
This page is out of date. Refresh to see the latest.
View
2  lib/Doctrine/Common/Persistence/Mapping/Driver/DefaultFileLocator.php
@@ -24,7 +24,7 @@
/**
* Locate the file that contains the metadata information for a given class name.
*
- * This behavior is inpependent of the actual content of the file. It just detects
+ * This behavior is independent of the actual content of the file. It just detects
* the file which is responsible for the given class name.
*
* @author Benjamin Eberlei <kontakt@beberlei.de>
View
2  lib/Doctrine/Common/Persistence/ObjectManagerAware.php
@@ -26,7 +26,7 @@
*
* Using this interface the managing object manager and class metadata instances
* are injected into the persistent object after construction. This allows
- * you to implement ActiveRecord functionality on top of the persistance-ignorance
+ * you to implement ActiveRecord functionality on top of the persistence-ignorance
* that Doctrine propagates.
*
* Word of Warning: This is a very powerful hook to change how you can work with your domain models.
View
4 lib/Doctrine/Common/Persistence/PersistentObject.php
@@ -38,7 +38,7 @@
* This is either done on `postLoad` of an object or by accessing the global object manager.
* 3. There are no hooks for setters/getters. Just implement the method yourself instead of relying on __call().
* 4. Slower than handcoded implementations: An average of 7 method calls per access to a field and 11 for an association.
- * 5. Only the inverse side associations get autoset on the owning side aswell. Setting objects on the owning side
+ * 5. Only the inverse side associations get autoset on the owning side as well. Setting objects on the owning side
* will not set the inverse side associations.
*
* @example
@@ -160,7 +160,7 @@ private function get($field)
*/
private function completeOwningSide($field, $targetClass, $targetObject)
{
- // add this object on the owning side aswell, for obvious infinite recursion
+ // add this object on the owning side as well, for obvious infinite recursion
// reasons this is only done when called on the inverse side.
if ($this->cm->isAssociationInverseSide($field)) {
$mappedByField = $this->cm->getAssociationMappedByTargetField($field);
View
12 tests/Doctrine/Tests/Common/Persistence/Mapping/ChainDriverTest.php
@@ -51,7 +51,7 @@ public function testLoadMetadata_NoDelegatorFound_ThrowsMappingException()
public function testGatherAllClassNames()
{
$className = 'Doctrine\Tests\Common\Persistence\Mapping\DriverChainEntity';
- $classMetadata = $this->getMock('Doctrine\Common\Peristence\ClassMetadata');
+ $classMetadata = $this->getMock('Doctrine\Common\Persistence\ClassMetadata');
$chain = new MappingDriverChain();
@@ -93,7 +93,7 @@ public function testIsTransient()
public function testDefaultDriver()
{
$companyDriver = $this->getMock('Doctrine\Common\Persistence\Mapping\Driver\MappingDriver');
- $dafaultDriver = $this->getMock('Doctrine\Common\Persistence\Mapping\Driver\MappingDriver');
+ $defaultDriver = $this->getMock('Doctrine\Common\Persistence\Mapping\Driver\MappingDriver');
$entityClassName = 'Doctrine\Tests\ORM\Mapping\DriverChainEntity';
$managerClassName = 'Doctrine\Tests\Models\Company\CompanyManager';
$chain = new MappingDriverChain();
@@ -105,19 +105,19 @@ public function testDefaultDriver()
->with($this->equalTo($managerClassName))
->will($this->returnValue(false));
- $dafaultDriver->expects($this->never())
+ $defaultDriver->expects($this->never())
->method('loadMetadataForClass');
- $dafaultDriver->expects($this->once())
+ $defaultDriver->expects($this->once())
->method('isTransient')
->with($this->equalTo($entityClassName))
->will($this->returnValue(true));
$this->assertNull($chain->getDefaultDriver());
- $chain->setDefaultDriver($dafaultDriver);
+ $chain->setDefaultDriver($defaultDriver);
$chain->addDriver($companyDriver, 'Doctrine\Tests\Models\Company');
- $this->assertSame($dafaultDriver, $chain->getDefaultDriver());
+ $this->assertSame($defaultDriver, $chain->getDefaultDriver());
$this->assertTrue($chain->isTransient($entityClassName));
$this->assertFalse($chain->isTransient($managerClassName));
View
6 tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php
@@ -84,7 +84,7 @@ public function testSetToOneAssociation()
$this->assertSame($parent, $this->object->getParent($parent));
}
- public function testSetInvalidToOneAssocation()
+ public function testSetInvalidToOneAssociation()
{
$parent = new \stdClass();
@@ -100,7 +100,7 @@ public function testSetToOneAssociationNull()
$this->assertNull($this->object->getParent());
}
- public function testAddToManyAssocation()
+ public function testAddToManyAssociation()
{
$child = new TestObject();
$this->object->addChildren($child);
@@ -114,7 +114,7 @@ public function testAddToManyAssocation()
$this->assertEquals(2, count($this->object->getChildren()));
}
- public function testAddInvalidToManyAssocation()
+ public function testAddInvalidToManyAssociation()
{
$this->setExpectedException('InvalidArgumentException');
$this->object->addChildren(new \stdClass());
View
2  tests/NativePhpunitTask.php
@@ -16,7 +16,7 @@
/**
* A more flexible and powerful PHPUnit Task than the native Phing one.
*
- * Plus forward compability for PHPUnit 3.5 and later is ensured by using the PHPUnit Test Runner instead of implementing one.
+ * Plus forward compatibility for PHPUnit 3.5 and later is ensured by using the PHPUnit Test Runner instead of implementing one.
*
* @author Benjamin Eberlei <kontakt@beberlei.de>
*/
Something went wrong with that request. Please try again.