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
a73459e1
Unverified
Commit
a73459e1
authored
Jul 04, 2020
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark Driver implementations final
parent
17e6eaed
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
11 deletions
+12
-11
UPGRADE.md
UPGRADE.md
+4
-3
Driver.php
src/Driver/Mysqli/Driver.php
+1
-1
Driver.php
src/Driver/OCI8/Driver.php
+1
-1
Driver.php
src/Driver/PDOMySql/Driver.php
+1
-1
Driver.php
src/Driver/PDOOracle/Driver.php
+1
-1
Driver.php
src/Driver/PDOPgSql/Driver.php
+1
-1
Driver.php
src/Driver/PDOSqlite/Driver.php
+1
-1
Driver.php
src/Driver/PDOSqlsrv/Driver.php
+1
-1
Driver.php
src/Driver/SQLSrv/Driver.php
+1
-1
No files found.
UPGRADE.md
View file @
a73459e1
# Upgrade to 3.0
## BC BREAK: Changes in
PDO
driver classes
## BC BREAK: Changes in driver classes
1.
The
`PDO\Connection`
and
`PDO\Statement`
classes have been made final.
2.
The
`PDOSqlsrv\Connection`
and
`PDOSqlsrv\Statement`
classes have been made final and no longer extend the corresponding PDO classes.
1.
All implementations of the
`Driver`
interface have been made final.
2.
The
`PDO\Connection`
and
`PDO\Statement`
classes have been made final.
3.
The
`PDOSqlsrv\Connection`
and
`PDOSqlsrv\Statement`
classes have been made final and no longer extend the corresponding PDO classes.
## BC BREAK: Changes in driver-level exception handling
...
...
src/Driver/Mysqli/Driver.php
View file @
a73459e1
...
...
@@ -10,7 +10,7 @@ use Doctrine\DBAL\Driver\Mysqli\Initializer\Secure;
use
function
count
;
class
Driver
extends
AbstractMySQLDriver
final
class
Driver
extends
AbstractMySQLDriver
{
/**
* {@inheritdoc}
...
...
src/Driver/OCI8/Driver.php
View file @
a73459e1
...
...
@@ -9,7 +9,7 @@ use const OCI_NO_AUTO_COMMIT;
/**
* A Doctrine DBAL driver for the Oracle OCI8 PHP extensions.
*/
class
Driver
extends
AbstractOracleDriver
final
class
Driver
extends
AbstractOracleDriver
{
/**
* {@inheritdoc}
...
...
src/Driver/PDOMySql/Driver.php
View file @
a73459e1
...
...
@@ -9,7 +9,7 @@ use PDO;
/**
* PDO MySql driver.
*/
class
Driver
extends
AbstractMySQLDriver
final
class
Driver
extends
AbstractMySQLDriver
{
/**
* {@inheritdoc}
...
...
src/Driver/PDOOracle/Driver.php
View file @
a73459e1
...
...
@@ -14,7 +14,7 @@ use PDO;
* which leads us to the recommendation to use the "oci8" driver to connect
* to Oracle instead.
*/
class
Driver
extends
AbstractOracleDriver
final
class
Driver
extends
AbstractOracleDriver
{
/**
* {@inheritdoc}
...
...
src/Driver/PDOPgSql/Driver.php
View file @
a73459e1
...
...
@@ -11,7 +11,7 @@ use function defined;
/**
* Driver that connects through pdo_pgsql.
*/
class
Driver
extends
AbstractPostgreSQLDriver
final
class
Driver
extends
AbstractPostgreSQLDriver
{
/**
* {@inheritdoc}
...
...
src/Driver/PDOSqlite/Driver.php
View file @
a73459e1
...
...
@@ -11,7 +11,7 @@ use function array_merge;
/**
* The PDO Sqlite driver.
*/
class
Driver
extends
AbstractSQLiteDriver
final
class
Driver
extends
AbstractSQLiteDriver
{
/** @var mixed[] */
protected
$_userDefinedFunctions
=
[
...
...
src/Driver/PDOSqlsrv/Driver.php
View file @
a73459e1
...
...
@@ -14,7 +14,7 @@ use function sprintf;
/**
* The PDO-based Sqlsrv driver.
*/
class
Driver
extends
AbstractSQLServerDriver
final
class
Driver
extends
AbstractSQLServerDriver
{
/**
* {@inheritdoc}
...
...
src/Driver/SQLSrv/Driver.php
View file @
a73459e1
...
...
@@ -8,7 +8,7 @@ use Doctrine\DBAL\Driver\AbstractSQLServerDriver\Exception\PortWithoutHost;
/**
* Driver for ext/sqlsrv.
*/
class
Driver
extends
AbstractSQLServerDriver
final
class
Driver
extends
AbstractSQLServerDriver
{
/**
* {@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