From 3eb2f9667ddbcea828e595bf52c276bc0625ef5c Mon Sep 17 00:00:00 2001 From: "Bruno O. Notario" Date: Thu, 25 Jan 2024 00:49:50 -0300 Subject: [PATCH] remove final class from db drivers --- system/database/databases/mpdo.php | 2 +- system/database/databases/mssql.php | 2 +- system/database/databases/mysql_legacy.php | 2 +- system/database/databases/sqlite3_db.php | 2 +- system/database/databases/sqlsrv.php | 2 +- system/database/databases/sqlsrvpdo.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/system/database/databases/mpdo.php b/system/database/databases/mpdo.php index 77bd3e9..e442e8c 100644 --- a/system/database/databases/mpdo.php +++ b/system/database/databases/mpdo.php @@ -15,7 +15,7 @@ use Phacil\Framework\Interfaces\Databases; * Alternative PDO MySQL connection method. * * @package Phacil\Framework\Databases */ -final class mPDO implements Databases { +class mPDO implements Databases { /** * * @var PDO diff --git a/system/database/databases/mssql.php b/system/database/databases/mssql.php index f270a01..4421326 100644 --- a/system/database/databases/mssql.php +++ b/system/database/databases/mssql.php @@ -14,7 +14,7 @@ namespace Phacil\Framework\Databases; * Doesn't work with PHP 7+ * @deprecated 2.0.0 * @package Phacil\Framework\Databases */ -final class MSSQL implements \Phacil\Framework\Interfaces\Databases +class MSSQL implements \Phacil\Framework\Interfaces\Databases { private $connection; diff --git a/system/database/databases/mysql_legacy.php b/system/database/databases/mysql_legacy.php index 213a4ec..b0bc79b 100644 --- a/system/database/databases/mysql_legacy.php +++ b/system/database/databases/mysql_legacy.php @@ -14,7 +14,7 @@ namespace Phacil\Framework\Databases; * Doesn't work with PHP 7+ * @package Phacil\Framework\Databases * */ -final class MySQL_legacy implements \Phacil\Framework\Interfaces\Databases { +class MySQL_legacy implements \Phacil\Framework\Interfaces\Databases { private $connection; public function __construct($hostname, $username, $password, $database, $port = '3306', $charset = 'utf8') { diff --git a/system/database/databases/sqlite3_db.php b/system/database/databases/sqlite3_db.php index f643c79..05c9783 100644 --- a/system/database/databases/sqlite3_db.php +++ b/system/database/databases/sqlite3_db.php @@ -12,7 +12,7 @@ use Phacil\Framework\Interfaces\Databases; use \SQLite3; use \stdClass; -final class Sqlite3_db implements Databases { +class Sqlite3_db implements Databases { /** * * @var SQLite3 diff --git a/system/database/databases/sqlsrv.php b/system/database/databases/sqlsrv.php index 2e3d49f..02362a8 100644 --- a/system/database/databases/sqlsrv.php +++ b/system/database/databases/sqlsrv.php @@ -10,7 +10,7 @@ namespace Phacil\Framework\Databases; use Phacil\Framework\Interfaces\Databases; -final class SQLSRV implements Databases { +class SQLSRV implements Databases { /** * * @var resource diff --git a/system/database/databases/sqlsrvpdo.php b/system/database/databases/sqlsrvpdo.php index e9c0de0..1897612 100644 --- a/system/database/databases/sqlsrvpdo.php +++ b/system/database/databases/sqlsrvpdo.php @@ -11,7 +11,7 @@ namespace Phacil\Framework\Databases; use \PDO as PDONative; use Phacil\Framework\Interfaces\Databases; -final class sqlsrvPDO implements Databases { +class sqlsrvPDO implements Databases { /** * * @var PDONative