Skip to content

Commit

Permalink
Upgrade to doctrine/coding-standard v12 (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire authored May 21, 2024
1 parent 267cd9f commit 7606878
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"phpstan/phpstan": "1.9.4",
"phpstan/phpstan-phpunit": "^1",
"phpstan/phpstan-strict-rules": "^1.1",
"doctrine/coding-standard": "^11",
"doctrine/coding-standard": "^12",
"doctrine/common": "^3.0",
"phpunit/phpunit": "^8.5 || ^9.5",
"symfony/cache": "^4.4 || ^5.4 || ^6.0",
Expand Down
20 changes: 10 additions & 10 deletions src/Persistence/AbstractManagerRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function getName()
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getConnection(?string $name = null)
{
Expand All @@ -107,15 +107,15 @@ public function getConnection(?string $name = null)
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getConnectionNames()
{
return $this->connections;
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getConnections()
{
Expand All @@ -128,23 +128,23 @@ public function getConnections()
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getDefaultConnectionName()
{
return $this->defaultConnection;
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getDefaultManagerName()
{
return $this->defaultManager;
}

/**
* {@inheritdoc}
* {@inheritDoc}
*
* @throws InvalidArgumentException
*/
Expand Down Expand Up @@ -195,15 +195,15 @@ public function getManagerForClass(string $class)
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getManagerNames()
{
return $this->managers;
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getManagers()
{
Expand All @@ -218,7 +218,7 @@ public function getManagers()
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getRepository(
string $persistentObject,
Expand All @@ -230,7 +230,7 @@ public function getRepository(
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function resetManager(?string $name = null)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Persistence/Mapping/Driver/StaticPHPDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function addPaths(array $paths)
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function loadMetadataForClass(string $className, ClassMetadata $metadata)
{
Expand Down Expand Up @@ -123,7 +123,7 @@ public function getAllClassNames()
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function isTransient(string $className)
{
Expand Down
8 changes: 4 additions & 4 deletions src/Persistence/ObjectManagerDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract class ObjectManagerDecorator implements ObjectManager
protected $wrapped;

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function find(string $className, $id)
{
Expand Down Expand Up @@ -56,15 +56,15 @@ public function flush()
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getRepository(string $className)
{
return $this->wrapped->getRepository($className);
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getClassMetadata(string $className)
{
Expand All @@ -83,7 +83,7 @@ public function initializeObject(object $obj)
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function contains(object $object)
{
Expand Down

0 comments on commit 7606878

Please sign in to comment.