From 2a88ff9012ec5b38c98f5fdc34467f1cf11f49d7 Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Fri, 26 Jun 2020 19:18:20 -0700 Subject: [PATCH 1/2] Revert declare(strict_types=1); from new driver classes --- lib/Doctrine/DBAL/Driver/IBMDB2/Connection.php | 2 -- lib/Doctrine/DBAL/Driver/IBMDB2/Statement.php | 2 -- lib/Doctrine/DBAL/Driver/Mysqli/Connection.php | 2 -- lib/Doctrine/DBAL/Driver/Mysqli/Statement.php | 2 -- lib/Doctrine/DBAL/Driver/OCI8/Connection.php | 2 -- lib/Doctrine/DBAL/Driver/OCI8/Statement.php | 2 -- lib/Doctrine/DBAL/Driver/PDO/Connection.php | 2 -- lib/Doctrine/DBAL/Driver/PDO/Statement.php | 2 -- lib/Doctrine/DBAL/Driver/SQLSrv/Connection.php | 2 -- lib/Doctrine/DBAL/Driver/SQLSrv/Statement.php | 2 -- 10 files changed, 20 deletions(-) diff --git a/lib/Doctrine/DBAL/Driver/IBMDB2/Connection.php b/lib/Doctrine/DBAL/Driver/IBMDB2/Connection.php index 66d77c10406..b05475780fd 100644 --- a/lib/Doctrine/DBAL/Driver/IBMDB2/Connection.php +++ b/lib/Doctrine/DBAL/Driver/IBMDB2/Connection.php @@ -1,7 +1,5 @@ Date: Fri, 26 Jun 2020 19:21:04 -0700 Subject: [PATCH 2/2] Mark SQLSrv\Statement final --- lib/Doctrine/DBAL/Driver/SQLSrv/Statement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/DBAL/Driver/SQLSrv/Statement.php b/lib/Doctrine/DBAL/Driver/SQLSrv/Statement.php index fc5be4c8baa..6a96b87c939 100644 --- a/lib/Doctrine/DBAL/Driver/SQLSrv/Statement.php +++ b/lib/Doctrine/DBAL/Driver/SQLSrv/Statement.php @@ -2,6 +2,6 @@ namespace Doctrine\DBAL\Driver\SQLSrv; -class Statement extends SQLSrvStatement +final class Statement extends SQLSrvStatement { }