Unverified Commit 23e8d5d7 authored by Jonathan H. Wage's avatar Jonathan H. Wage Committed by Sergei Morozov

Remove deprecated SchemaManager methods

parent a567da86
# Upgrade to 3.0 # Upgrade to 3.0
## BC BREAK: Changes in the `Doctrine\DBAL\Schema` API
- Removed unused method `Doctrine\DBAL\Schema\AbstractSchemaManager::_getPortableFunctionsList()`
- Removed unused method `Doctrine\DBAL\Schema\AbstractSchemaManager::_getPortableFunctionDefinition()`
- Removed unused method `Doctrine\DBAL\Schema\OracleSchemaManager::_getPortableFunctionDefinition()`
- Removed unused method `Doctrine\DBAL\Schema\SqliteSchemaManager::_getPortableTableIndexDefinition()`
## BC BREAK: Removed support for DB-generated UUIDs ## BC BREAK: Removed support for DB-generated UUIDs
The support for DB-generated UUIDs was removed as non-portable. The support for DB-generated UUIDs was removed as non-portable.
......
...@@ -668,41 +668,6 @@ abstract class AbstractSchemaManager ...@@ -668,41 +668,6 @@ abstract class AbstractSchemaManager
return $namespace; return $namespace;
} }
/**
* @deprecated
*
* @param mixed[][] $functions
*
* @return mixed[][]
*/
protected function _getPortableFunctionsList($functions)
{
$list = [];
foreach ($functions as $value) {
$value = $this->_getPortableFunctionDefinition($value);
if (! $value) {
continue;
}
$list[] = $value;
}
return $list;
}
/**
* @deprecated
*
* @param mixed[] $function
*
* @return mixed
*/
protected function _getPortableFunctionDefinition($function)
{
return $function;
}
/** /**
* @param mixed[][] $triggers * @param mixed[][] $triggers
* *
......
...@@ -267,18 +267,6 @@ class OracleSchemaManager extends AbstractSchemaManager ...@@ -267,18 +267,6 @@ class OracleSchemaManager extends AbstractSchemaManager
); );
} }
/**
* {@inheritdoc}
*
* @deprecated
*/
protected function _getPortableFunctionDefinition($function)
{
$function = array_change_key_case($function, CASE_LOWER);
return $function['name'];
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
......
...@@ -224,21 +224,6 @@ class SqliteSchemaManager extends AbstractSchemaManager ...@@ -224,21 +224,6 @@ class SqliteSchemaManager extends AbstractSchemaManager
return parent::_getPortableTableIndexesList($indexBuffer, $tableName); return parent::_getPortableTableIndexesList($indexBuffer, $tableName);
} }
/**
* @deprecated
*
* @param array<string, mixed> $tableIndex
*
* @return array<string, bool|string>
*/
protected function _getPortableTableIndexDefinition($tableIndex)
{
return [
'name' => $tableIndex['name'],
'unique' => (bool) $tableIndex['unique'],
];
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
......
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