From c20b5550ecb5d0a4294ee58bfede45b36cf0cc89 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 31 Oct 2024 15:28:00 +0000 Subject: [PATCH] Apply fixes from StyleCI --- tests/CommandTest.php | 6 +----- tests/PDODriverTest.php | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/CommandTest.php b/tests/CommandTest.php index 3ae5b8c0..1f311ff9 100644 --- a/tests/CommandTest.php +++ b/tests/CommandTest.php @@ -8,12 +8,8 @@ use Yiisoft\Db\Exception\Exception; use Yiisoft\Db\Exception\InvalidConfigException; use Yiisoft\Db\Exception\NotSupportedException; -use Yiisoft\Db\Pgsql\Connection; -use Yiisoft\Db\Pgsql\Dsn; -use Yiisoft\Db\Pgsql\Driver; use Yiisoft\Db\Pgsql\Tests\Support\TestTrait; use Yiisoft\Db\Tests\Common\CommonCommandTest; -use Yiisoft\Db\Tests\Support\DbHelper; use function serialize; @@ -277,6 +273,6 @@ public function testinsertWithReturningPksUuid(): void public function testShowDatabases(): void { - $this->assertSame([self::getDatabaseName()], static::getDb()->createCommand()->showDatabases()); + $this->assertSame([self::getDatabaseName()], self::getDb()->createCommand()->showDatabases()); } } diff --git a/tests/PDODriverTest.php b/tests/PDODriverTest.php index a94e5b08..8285e977 100644 --- a/tests/PDODriverTest.php +++ b/tests/PDODriverTest.php @@ -8,7 +8,6 @@ use PHPUnit\Framework\TestCase; use Yiisoft\Db\Exception\Exception; use Yiisoft\Db\Exception\InvalidConfigException; -use Yiisoft\Db\Pgsql\Driver; use Yiisoft\Db\Pgsql\Tests\Support\TestTrait; /**