Skip to content

Commit

Permalink
Merge pull request #6015 from phansys/inheritdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Apr 24, 2023
2 parents e2937c6 + 4e2a633 commit 81579c2
Show file tree
Hide file tree
Showing 125 changed files with 443 additions and 443 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"psr/log": "^1|^2|^3"
},
"require-dev": {
"doctrine/coding-standard": "11.1.0",
"doctrine/coding-standard": "^12.0",
"fig/log-test": "^1",
"jetbrains/phpstorm-stubs": "2022.3",
"phpstan/phpstan": "1.10.9",
Expand Down
12 changes: 6 additions & 6 deletions src/Cache/ArrayResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct(array $data)
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function fetchNumeric()
{
Expand All @@ -44,15 +44,15 @@ public function fetchNumeric()
}

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

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

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function fetchAllNumeric(): array
{
return FetchUtils::fetchAllNumeric($this);
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function fetchAllAssociative(): array
{
return FetchUtils::fetchAllAssociative($this);
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function fetchFirstColumn(): array
{
Expand Down
6 changes: 3 additions & 3 deletions src/Driver/AbstractDB2Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
abstract class AbstractDB2Driver implements VersionAwarePlatformDriver
{
/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getDatabasePlatform()
{
return new DB2Platform();
}

/**
* {@inheritdoc}
* {@inheritDoc}
*
* @deprecated Use {@link DB2Platform::createSchemaManager()} instead.
*/
Expand All @@ -55,7 +55,7 @@ public function getExceptionConverter(): ExceptionConverterInterface
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function createDatabasePlatformForVersion($version)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Driver/AbstractException.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct($message, $sqlState = null, $code = 0, ?Throwable $p
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getSQLState()
{
Expand Down
6 changes: 3 additions & 3 deletions src/Driver/AbstractMySQLDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
abstract class AbstractMySQLDriver implements VersionAwarePlatformDriver
{
/**
* {@inheritdoc}
* {@inheritDoc}
*
* @throws Exception
*/
Expand Down Expand Up @@ -160,7 +160,7 @@ private function getMariaDbMysqlVersionNumber(string $versionString): string
}

/**
* {@inheritdoc}
* {@inheritDoc}
*
* @return AbstractMySQLPlatform
*/
Expand All @@ -170,7 +170,7 @@ public function getDatabasePlatform()
}

/**
* {@inheritdoc}
* {@inheritDoc}
*
* @deprecated Use {@link AbstractMySQLPlatform::createSchemaManager()} instead.
*
Expand Down
4 changes: 2 additions & 2 deletions src/Driver/AbstractOracleDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
abstract class AbstractOracleDriver implements Driver
{
/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getDatabasePlatform()
{
return new OraclePlatform();
}

/**
* {@inheritdoc}
* {@inheritDoc}
*
* @deprecated Use {@link OraclePlatform::createSchemaManager()} instead.
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Driver/AbstractPostgreSQLDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
abstract class AbstractPostgreSQLDriver implements VersionAwarePlatformDriver
{
/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function createDatabasePlatformForVersion($version)
{
Expand Down Expand Up @@ -55,15 +55,15 @@ public function createDatabasePlatformForVersion($version)
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getDatabasePlatform()
{
return new PostgreSQL94Platform();
}

/**
* {@inheritdoc}
* {@inheritDoc}
*
* @deprecated Use {@link PostgreSQLPlatform::createSchemaManager()} instead.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Driver/AbstractSQLServerDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
abstract class AbstractSQLServerDriver implements Driver
{
/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getDatabasePlatform()
{
return new SQLServer2012Platform();
}

/**
* {@inheritdoc}
* {@inheritDoc}
*
* @deprecated Use {@link SQLServerPlatform::createSchemaManager()} instead.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Driver/AbstractSQLiteDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
abstract class AbstractSQLiteDriver implements Driver
{
/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getDatabasePlatform()
{
return new SqlitePlatform();
}

/**
* {@inheritdoc}
* {@inheritDoc}
*
* @deprecated Use {@link SqlitePlatform::createSchemaManager()} instead.
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Driver/IBMDB2/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct($connection)
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getServerVersion()
{
Expand All @@ -70,7 +70,7 @@ public function query(string $sql): ResultInterface
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function quote($value, $type = ParameterType::STRING)
{
Expand All @@ -95,7 +95,7 @@ public function exec(string $sql): int
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function lastInsertId($name = null)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Driver/IBMDB2/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
final class Driver extends AbstractDB2Driver
{
/**
* {@inheritdoc}
* {@inheritDoc}
*
* @return Connection
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Driver/IBMDB2/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function __construct($stmt)
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function bindValue($param, $value, $type = ParameterType::STRING): bool
{
Expand All @@ -75,7 +75,7 @@ public function bindValue($param, $value, $type = ParameterType::STRING): bool
}

/**
* {@inheritdoc}
* {@inheritDoc}
*
* @deprecated Use {@see bindValue()} instead.
*/
Expand Down Expand Up @@ -132,7 +132,7 @@ private function bind($position, &$variable, int $parameterType, int $dataType):
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function execute($params = null): ResultInterface
{
Expand Down
12 changes: 6 additions & 6 deletions src/Driver/Middleware/AbstractConnectionMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function query(string $sql): Result
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function quote($value, $type = ParameterType::STRING)
{
Expand All @@ -47,7 +47,7 @@ public function exec(string $sql): int
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function lastInsertId($name = null)
{
Expand All @@ -63,31 +63,31 @@ public function lastInsertId($name = null)
}

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

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

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

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function getServerVersion()
{
Expand Down
8 changes: 4 additions & 4 deletions src/Driver/Middleware/AbstractDriverMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function __construct(Driver $wrappedDriver)
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function connect(
#[SensitiveParameter]
Expand All @@ -30,15 +30,15 @@ public function connect(
}

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

/**
* {@inheritdoc}
* {@inheritDoc}
*
* @deprecated Use {@link AbstractPlatform::createSchemaManager()} instead.
*/
Expand All @@ -60,7 +60,7 @@ public function getExceptionConverter(): ExceptionConverter
}

/**
* {@inheritdoc}
* {@inheritDoc}
*/
public function createDatabasePlatformForVersion($version)
{
Expand Down
Loading

0 comments on commit 81579c2

Please sign in to comment.