diff --git a/src/Driver/Pdo/AbstractPdoConnection.php b/src/Driver/Pdo/AbstractPdoConnection.php index fcb565693..19ca7f7c5 100644 --- a/src/Driver/Pdo/AbstractPdoConnection.php +++ b/src/Driver/Pdo/AbstractPdoConnection.php @@ -21,7 +21,6 @@ use Yiisoft\Db\QueryBuilder\QueryBuilderInterface; use Yiisoft\Db\Schema\Column\ColumnFactoryInterface; use Yiisoft\Db\Schema\QuoterInterface; -use Yiisoft\Db\Schema\SchemaInterface; use Yiisoft\Db\Transaction\TransactionInterface; use function array_keys; diff --git a/src/QueryBuilder/AbstractQueryBuilder.php b/src/QueryBuilder/AbstractQueryBuilder.php index 44afec916..1b10c28f8 100644 --- a/src/QueryBuilder/AbstractQueryBuilder.php +++ b/src/QueryBuilder/AbstractQueryBuilder.php @@ -13,8 +13,6 @@ use Yiisoft\Db\Schema\SchemaInterface; use function count; -use function preg_match; -use function preg_replace; /** * Builds a SELECT SQL statement based on the specification given as a {@see QueryInterface} object. diff --git a/src/Schema/AbstractSchema.php b/src/Schema/AbstractSchema.php index 4a3395296..0c6f28a2d 100644 --- a/src/Schema/AbstractSchema.php +++ b/src/Schema/AbstractSchema.php @@ -13,9 +13,9 @@ use Yiisoft\Db\Constraint\IndexConstraint; use Yiisoft\Db\Exception\NotSupportedException; -use Yiisoft\Db\Schema\Column\ColumnBuilder; use Yiisoft\Db\Schema\Column\ColumnFactory; use Yiisoft\Db\Schema\Column\ColumnFactoryInterface; + use function array_change_key_case; use function array_map; use function gettype; diff --git a/src/Schema/Column/BigIntColumn.php b/src/Schema/Column/BigIntColumn.php index a6df734c6..e1954b515 100644 --- a/src/Schema/Column/BigIntColumn.php +++ b/src/Schema/Column/BigIntColumn.php @@ -4,7 +4,6 @@ namespace Yiisoft\Db\Schema\Column; -use Yiisoft\Db\Expression\Expression; use Yiisoft\Db\Expression\ExpressionInterface; use Yiisoft\Db\Schema\SchemaInterface; diff --git a/src/Schema/Column/DoubleColumn.php b/src/Schema/Column/DoubleColumn.php index 136fbeeee..59d044153 100644 --- a/src/Schema/Column/DoubleColumn.php +++ b/src/Schema/Column/DoubleColumn.php @@ -4,7 +4,6 @@ namespace Yiisoft\Db\Schema\Column; -use Yiisoft\Db\Expression\Expression; use Yiisoft\Db\Expression\ExpressionInterface; use Yiisoft\Db\Schema\SchemaInterface; diff --git a/src/Schema/Column/IntegerColumn.php b/src/Schema/Column/IntegerColumn.php index e9d23d10e..695b3feae 100644 --- a/src/Schema/Column/IntegerColumn.php +++ b/src/Schema/Column/IntegerColumn.php @@ -4,7 +4,6 @@ namespace Yiisoft\Db\Schema\Column; -use Yiisoft\Db\Expression\Expression; use Yiisoft\Db\Expression\ExpressionInterface; use Yiisoft\Db\Schema\SchemaInterface; diff --git a/tests/Db/Schema/SchemaTest.php b/tests/Db/Schema/SchemaTest.php index f9bc783af..e407912ab 100644 --- a/tests/Db/Schema/SchemaTest.php +++ b/tests/Db/Schema/SchemaTest.php @@ -16,7 +16,6 @@ use Yiisoft\Db\Tests\AbstractSchemaTest; use Yiisoft\Db\Tests\Support\Assert; use Yiisoft\Db\Tests\Support\DbHelper; -use Yiisoft\Db\Tests\Support\Stub\Column; use Yiisoft\Db\Tests\Support\Stub\Schema; use Yiisoft\Db\Tests\Support\Stub\TableSchema; use Yiisoft\Db\Tests\Support\TestTrait;