Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
23e8d5d7
Unverified
Commit
23e8d5d7
authored
May 28, 2019
by
Jonathan H. Wage
Committed by
Sergei Morozov
Jun 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated SchemaManager methods
parent
a567da86
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
62 deletions
+7
-62
UPGRADE.md
UPGRADE.md
+7
-0
AbstractSchemaManager.php
src/Schema/AbstractSchemaManager.php
+0
-35
OracleSchemaManager.php
src/Schema/OracleSchemaManager.php
+0
-12
SqliteSchemaManager.php
src/Schema/SqliteSchemaManager.php
+0
-15
No files found.
UPGRADE.md
View file @
23e8d5d7
# 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
The support for DB-generated UUIDs was removed as non-portable.
...
...
src/Schema/AbstractSchemaManager.php
View file @
23e8d5d7
...
...
@@ -668,41 +668,6 @@ abstract class AbstractSchemaManager
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
*
...
...
src/Schema/OracleSchemaManager.php
View file @
23e8d5d7
...
...
@@ -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}
*/
...
...
src/Schema/SqliteSchemaManager.php
View file @
23e8d5d7
...
...
@@ -224,21 +224,6 @@ class SqliteSchemaManager extends AbstractSchemaManager
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}
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment