Unverified Commit b75cf202 authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3598 from morozov/deprecate-unused

Deprecated some unused code bits
parents 97b7305f 9706ef97
# Upgrade to 2.10 # Upgrade to 2.10
## Deprecated `Doctrine\DBAL\Platforms::_getAlterTableIndexForeignKeySQL()`
Method `Doctrine\DBAL\Platforms::_getAlterTableIndexForeignKeySQL()` has been deprecated as no longer used.
## Deprecated `Doctrine\DBAL\Driver\OCI8\OCI8Statement::$_PARAM`
Property `Doctrine\DBAL\Driver\OCI8\OCI8Statement::$_PARAM` has been deprecated as not used.
## Deprecated `Doctrine\DBAL\Driver::getName()` ## Deprecated `Doctrine\DBAL\Driver::getName()`
Relying on the name of the driver is discouraged. For referencing the driver, use its class name. Relying on the name of the driver is discouraged. For referencing the driver, use its class name.
......
...@@ -58,7 +58,11 @@ class OCI8Statement implements IteratorAggregate, Statement ...@@ -58,7 +58,11 @@ class OCI8Statement implements IteratorAggregate, Statement
/** @var OCI8Connection */ /** @var OCI8Connection */
protected $_conn; protected $_conn;
/** @var string */ /**
* @deprecated
*
* @var string
*/
protected static $_PARAM = ':param'; protected static $_PARAM = ':param';
/** @var int[] */ /** @var int[] */
......
...@@ -2140,6 +2140,8 @@ abstract class AbstractPlatform ...@@ -2140,6 +2140,8 @@ abstract class AbstractPlatform
/** /**
* Common code for alter table statement generation that updates the changed Index and Foreign Key definitions. * Common code for alter table statement generation that updates the changed Index and Foreign Key definitions.
* *
* @deprecated
*
* @return string[] * @return string[]
*/ */
protected function _getAlterTableIndexForeignKeySQL(TableDiff $diff) protected function _getAlterTableIndexForeignKeySQL(TableDiff $diff)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment