diff --git a/UPGRADE.md b/UPGRADE.md index 10eb5e062d5..d8cf618481d 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -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. diff --git a/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php b/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php index 38d934550d3..007bd723a42 100644 --- a/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php +++ b/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php @@ -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 diff --git a/lib/Doctrine/DBAL/Platforms/OraclePlatform.php b/lib/Doctrine/DBAL/Platforms/OraclePlatform.php index b0cdce3f03f..ddf07adc1e2 100644 --- a/lib/Doctrine/DBAL/Platforms/OraclePlatform.php +++ b/lib/Doctrine/DBAL/Platforms/OraclePlatform.php @@ -1075,6 +1075,8 @@ public function getTimeFormatString() /** * {@inheritDoc} + * + * @deprecated */ public function fixSchemaElementName($schemaElementName) {