From 5580ef88e684ad5964c4d08b3d45f0a5a8d602ce Mon Sep 17 00:00:00 2001 From: michalsn Date: Sun, 1 Dec 2024 19:45:23 +0100 Subject: [PATCH] use InvalidArgumentException from the CodeIgniter namespace --- system/Database/SQLite3/Connection.php | 2 +- tests/system/Database/Live/SQLite3/ConnectTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system/Database/SQLite3/Connection.php b/system/Database/SQLite3/Connection.php index 79a07a0eb710..77fac4b61099 100644 --- a/system/Database/SQLite3/Connection.php +++ b/system/Database/SQLite3/Connection.php @@ -16,8 +16,8 @@ use CodeIgniter\Database\BaseConnection; use CodeIgniter\Database\Exceptions\DatabaseException; use CodeIgniter\Database\TableName; +use CodeIgniter\Exceptions\InvalidArgumentException; use Exception; -use InvalidArgumentException; use SQLite3; use SQLite3Result; use stdClass; diff --git a/tests/system/Database/Live/SQLite3/ConnectTest.php b/tests/system/Database/Live/SQLite3/ConnectTest.php index e14e3acb1add..17871de81bf1 100644 --- a/tests/system/Database/Live/SQLite3/ConnectTest.php +++ b/tests/system/Database/Live/SQLite3/ConnectTest.php @@ -13,9 +13,9 @@ namespace CodeIgniter\Database\Live\SQLite3; +use CodeIgniter\Exceptions\InvalidArgumentException; use CodeIgniter\Test\CIUnitTestCase; use Config\Database; -use InvalidArgumentException; use PHPUnit\Framework\Attributes\Group; /**