Skip to content

Commit 2e9cd2d

Browse files
committed
Adapt to change expression builders' namespaces
1 parent dae6772 commit 2e9cd2d

10 files changed

+13
-13
lines changed

src/Builder/ArrayExpressionBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
namespace Yiisoft\Db\Pgsql\Builder;
66

7-
use Yiisoft\Db\Command\Param;
87
use Yiisoft\Db\Constant\ColumnType;
98
use Yiisoft\Db\Constant\DataType;
10-
use Yiisoft\Db\Expression\AbstractArrayExpressionBuilder;
119
use Yiisoft\Db\Expression\ArrayExpression;
10+
use Yiisoft\Db\Expression\Builder\AbstractArrayExpressionBuilder;
1211
use Yiisoft\Db\Expression\ExpressionInterface;
12+
use Yiisoft\Db\Expression\Param;
1313
use Yiisoft\Db\Pgsql\Data\LazyArray;
1414
use Yiisoft\Db\Query\QueryInterface;
1515
use Yiisoft\Db\Schema\Column\AbstractArrayColumn;

src/Builder/ArrayOverlapsBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Yiisoft\Db\Exception\InvalidConfigException;
1010
use Yiisoft\Db\Exception\NotSupportedException;
1111
use Yiisoft\Db\Expression\ArrayExpression;
12-
use Yiisoft\Db\Expression\ExpressionBuilderInterface;
12+
use Yiisoft\Db\Expression\Builder\ExpressionBuilderInterface;
1313
use Yiisoft\Db\Expression\ExpressionInterface;
1414
use Yiisoft\Db\Expression\JsonExpression;
1515
use Yiisoft\Db\QueryBuilder\Condition\ArrayOverlaps;

src/Builder/CaseExpressionBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* Builds expressions for {@see CaseExpression}.
1616
*/
17-
final class CaseExpressionBuilder extends \Yiisoft\Db\Expression\CaseExpressionBuilder
17+
final class CaseExpressionBuilder extends \Yiisoft\Db\Expression\Builder\CaseExpressionBuilder
1818
{
1919
public function build(ExpressionInterface $expression, array &$params = []): string
2020
{

src/Builder/JsonExpressionBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
use Yiisoft\Db\Exception\InvalidConfigException;
1111
use Yiisoft\Db\Exception\NotSupportedException;
1212
use Yiisoft\Db\Expression\ArrayExpression;
13-
use Yiisoft\Db\Expression\ExpressionBuilderInterface;
13+
use Yiisoft\Db\Expression\Builder\ExpressionBuilderInterface;
1414
use Yiisoft\Db\Expression\ExpressionInterface;
1515
use Yiisoft\Db\Expression\JsonExpression;
16-
use Yiisoft\Db\Expression\JsonExpressionBuilder as BaseJsonExpressionBuilder;
16+
use Yiisoft\Db\Expression\Builder\JsonExpressionBuilder as BaseJsonExpressionBuilder;
1717
use Yiisoft\Db\QueryBuilder\QueryBuilderInterface;
1818

1919
/**

src/Builder/JsonOverlapsBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Yiisoft\Db\Exception\InvalidConfigException;
1010
use Yiisoft\Db\Exception\NotSupportedException;
1111
use Yiisoft\Db\Expression\ArrayExpression;
12-
use Yiisoft\Db\Expression\ExpressionBuilderInterface;
12+
use Yiisoft\Db\Expression\Builder\ExpressionBuilderInterface;
1313
use Yiisoft\Db\Expression\ExpressionInterface;
1414
use Yiisoft\Db\Expression\JsonExpression;
1515
use Yiisoft\Db\QueryBuilder\Condition\JsonOverlaps;

src/Builder/StructuredExpressionBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
namespace Yiisoft\Db\Pgsql\Builder;
66

7-
use Yiisoft\Db\Command\Param;
87
use Yiisoft\Db\Constant\DataType;
98
use Yiisoft\Db\Exception\Exception;
109
use InvalidArgumentException;
1110
use Yiisoft\Db\Exception\InvalidConfigException;
1211
use Yiisoft\Db\Exception\NotSupportedException;
13-
use Yiisoft\Db\Expression\AbstractStructuredExpressionBuilder;
12+
use Yiisoft\Db\Expression\Builder\AbstractStructuredExpressionBuilder;
13+
use Yiisoft\Db\Expression\Param;
1414
use Yiisoft\Db\Expression\StructuredExpression;
1515
use Yiisoft\Db\Pgsql\Data\StructuredLazyArray;
1616
use Yiisoft\Db\Query\QueryInterface;

tests/ArrayExpressionBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
use ArrayIterator;
88
use PHPUnit\Framework\Attributes\DataProvider;
99
use PHPUnit\Framework\TestCase;
10-
use Yiisoft\Db\Command\Param;
1110
use Yiisoft\Db\Constant\ColumnType;
1211
use Yiisoft\Db\Constant\DataType;
1312
use Yiisoft\Db\Expression\ArrayExpression;
1413
use Yiisoft\Db\Expression\Expression;
1514
use Yiisoft\Db\Expression\JsonExpression;
15+
use Yiisoft\Db\Expression\Param;
1616
use Yiisoft\Db\Expression\StructuredExpression;
1717
use Yiisoft\Db\Pgsql\Builder\ArrayExpressionBuilder;
1818
use Yiisoft\Db\Pgsql\Column\ColumnBuilder;

tests/JsonExpressionBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
use ArrayIterator;
88
use PHPUnit\Framework\Attributes\DataProvider;
99
use PHPUnit\Framework\TestCase;
10-
use Yiisoft\Db\Command\Param;
1110
use Yiisoft\Db\Constant\DataType;
1211
use Yiisoft\Db\Expression\ArrayExpression;
1312
use Yiisoft\Db\Expression\JsonExpression;
13+
use Yiisoft\Db\Expression\Param;
1414
use Yiisoft\Db\Pgsql\Builder\JsonExpressionBuilder;
1515
use Yiisoft\Db\Pgsql\Column\IntegerColumn;
1616
use Yiisoft\Db\Pgsql\Data\LazyArray;

tests/Provider/QueryBuilderProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
namespace Yiisoft\Db\Pgsql\Tests\Provider;
66

7-
use Yiisoft\Db\Command\Param;
87
use Yiisoft\Db\Constant\DataType;
98
use Yiisoft\Db\Constant\PseudoType;
109
use Yiisoft\Db\Expression\ArrayExpression;
1110
use Yiisoft\Db\Expression\CaseExpression;
1211
use Yiisoft\Db\Expression\Expression;
12+
use Yiisoft\Db\Expression\Param;
1313
use Yiisoft\Db\Pgsql\Column\ColumnBuilder;
1414
use Yiisoft\Db\Pgsql\Column\IntegerColumn;
1515
use Yiisoft\Db\Pgsql\Tests\Support\TestTrait;

tests/StructuredExpressionBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
use ArrayIterator;
88
use PHPUnit\Framework\Attributes\DataProvider;
99
use PHPUnit\Framework\TestCase;
10-
use Yiisoft\Db\Command\Param;
1110
use Yiisoft\Db\Constant\DataType;
11+
use Yiisoft\Db\Expression\Param;
1212
use Yiisoft\Db\Expression\StructuredExpression;
1313
use Yiisoft\Db\Pgsql\Builder\StructuredExpressionBuilder;
1414
use Yiisoft\Db\Pgsql\Column\ColumnBuilder;

0 commit comments

Comments
 (0)