Skip to content

Commit

Permalink
Merge pull request #4132 from morozov/deprecate-fix-schema-element-name
Browse files Browse the repository at this point in the history
Deprecate AbstractPlatform::fixSchemaElementName()
  • Loading branch information
morozov authored Jul 1, 2020
2 parents e8510d1 + 20ec5d8 commit 28ac296
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Upgrade to 2.11

## `AbstractPlatform::fixSchemaElementName()` is deprecated.

The method is not used anywhere except for tests.

##`ServerInfoAwareConnection::requiresQueryForServerVersion()` is deprecated.

The `ServerInfoAwareConnection::requiresQueryForServerVersion()` method has been deprecated as an implementation detail which is the same for almost all supported drivers.
Expand Down
2 changes: 2 additions & 0 deletions lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -3478,6 +3478,8 @@ public function getSQLResultCasing($column)
* Makes any fixes to a name of a schema element (table, sequence, ...) that are required
* by restrictions of the platform, like a maximum length.
*
* @deprecated
*
* @param string $schemaElementName
*
* @return string
Expand Down
2 changes: 2 additions & 0 deletions lib/Doctrine/DBAL/Platforms/OraclePlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,8 @@ public function getTimeFormatString()

/**
* {@inheritDoc}
*
* @deprecated
*/
public function fixSchemaElementName($schemaElementName)
{
Expand Down

0 comments on commit 28ac296

Please sign in to comment.