From e4b2c3f56aeeba2f100f3eed1e6befcf65b9153b Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Sun, 1 Dec 2024 02:54:28 +0000 Subject: [PATCH] Apply fixes from StyleCI --- tests/Common/CommonColumnSchemaBuilderTest.php | 2 +- tests/Provider/ColumnSchemaBuilderProvider.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/Common/CommonColumnSchemaBuilderTest.php b/tests/Common/CommonColumnSchemaBuilderTest.php index ea0dec0b4..b7cbde94f 100644 --- a/tests/Common/CommonColumnSchemaBuilderTest.php +++ b/tests/Common/CommonColumnSchemaBuilderTest.php @@ -49,7 +49,7 @@ public function testUuid(): void 'oci' => new Expression("HEXTORAW(REPLACE(:uuid, '-', ''))", [':uuid' => $uuidValue]), 'mysql' => new Expression("UNHEX(REPLACE(:uuid, '-', ''))", [':uuid' => $uuidValue]), 'sqlite' => new Expression("UNHEX(REPLACE(:uuid, '-', ''))", [':uuid' => $uuidValue]), - 'sqlsrv' => new Expression("CONVERT(uniqueidentifier, :uuid)", [':uuid' => $uuidValue]), + 'sqlsrv' => new Expression('CONVERT(uniqueidentifier, :uuid)', [':uuid' => $uuidValue]), default => $uuidValue, }; diff --git a/tests/Provider/ColumnSchemaBuilderProvider.php b/tests/Provider/ColumnSchemaBuilderProvider.php index d3bf0021d..86303b61f 100644 --- a/tests/Provider/ColumnSchemaBuilderProvider.php +++ b/tests/Provider/ColumnSchemaBuilderProvider.php @@ -5,9 +5,7 @@ namespace Yiisoft\Db\Tests\Provider; use Yiisoft\Db\Constant\ColumnType; -use Yiisoft\Db\Constant\PseudoType; use Yiisoft\Db\Expression\Expression; -use Yiisoft\Db\Tests\Support\DbHelper; class ColumnSchemaBuilderProvider {