|
3 | 3 | namespace Nextras\Dbal\QueryBuilder;
|
4 | 4 |
|
5 | 5 |
|
6 |
| -use Nextras\Dbal\Drivers\IDriver; |
7 | 6 | use Nextras\Dbal\Exception\InvalidArgumentException;
|
8 | 7 | use Nextras\Dbal\Exception\InvalidStateException;
|
9 | 8 | use Nextras\Dbal\Platforms\IPlatform;
|
10 | 9 | use Nextras\Dbal\Utils\StrictObjectTrait;
|
11 |
| -use function trigger_error; |
12 | 10 |
|
13 | 11 |
|
14 | 12 | class QueryBuilder
|
@@ -190,69 +188,6 @@ public function getFromAlias(): ?string
|
190 | 188 | }
|
191 | 189 |
|
192 | 190 |
|
193 |
| - /** |
194 |
| - * @phpstan-param array<int, mixed> $args |
195 |
| - * @deprecated QueryBuilder::innerJoin() is deprecated. Use QueryBuilder::joinInner() without $fromAlias and with $toAlias included in $toExpression. |
196 |
| - * @noinspection PhpUnusedParameterInspection |
197 |
| - */ |
198 |
| - public function innerJoin( |
199 |
| - string $fromAlias, |
200 |
| - string $toExpression, |
201 |
| - string $toAlias, |
202 |
| - string $onExpression, |
203 |
| - ...$args |
204 |
| - ): self |
205 |
| - { |
206 |
| - trigger_error( |
207 |
| - 'QueryBuilder::innerJoin() is deprecated. Use QueryBuilder::joinInner() without $fromAlias and with $toAlias included in $toExpression.', |
208 |
| - E_USER_DEPRECATED |
209 |
| - ); |
210 |
| - return $this->joinInner("$toExpression AS [$toAlias]", $onExpression, $args); |
211 |
| - } |
212 |
| - |
213 |
| - |
214 |
| - /** |
215 |
| - * @phpstan-param array<int, mixed> $args |
216 |
| - * @deprecated QueryBuilder::leftJoin() is deprecated. Use QueryBuilder::joinLeft() without $fromAlias and with $toAlias included in $toExpression. |
217 |
| - * @noinspection PhpUnusedParameterInspection |
218 |
| - */ |
219 |
| - public function leftJoin( |
220 |
| - string $fromAlias, |
221 |
| - string $toExpression, |
222 |
| - string $toAlias, |
223 |
| - string $onExpression, |
224 |
| - ...$args |
225 |
| - ): self |
226 |
| - { |
227 |
| - trigger_error( |
228 |
| - 'QueryBuilder::leftJoin() is deprecated. Use QueryBuilder::joinLeft() without $fromAlias and with $toAlias included in $toExpression.', |
229 |
| - E_USER_DEPRECATED |
230 |
| - ); |
231 |
| - return $this->joinLeft("$toExpression AS [$toAlias]", $onExpression, $args); |
232 |
| - } |
233 |
| - |
234 |
| - |
235 |
| - /** |
236 |
| - * @phpstan-param array<int, mixed> $args |
237 |
| - * @deprecated QueryBuilder::rightJoin() is deprecated. Use QueryBuilder::joinRight() without $fromAlias and with $toAlias included in $toExpression. |
238 |
| - * @noinspection PhpUnusedParameterInspection |
239 |
| - */ |
240 |
| - public function rightJoin( |
241 |
| - string $fromAlias, |
242 |
| - string $toExpression, |
243 |
| - string $toAlias, |
244 |
| - string $onExpression, |
245 |
| - ...$args |
246 |
| - ): self |
247 |
| - { |
248 |
| - trigger_error( |
249 |
| - 'QueryBuilder::rightJoin() is deprecated. Use QueryBuilder::joinRight() without $fromAlias and with $toAlias included in $toExpression.', |
250 |
| - E_USER_DEPRECATED |
251 |
| - ); |
252 |
| - return $this->joinRight("$toExpression AS [$toAlias]", $onExpression, $args); |
253 |
| - } |
254 |
| - |
255 |
| - |
256 | 191 | /**
|
257 | 192 | * @phpstan-param array<int, mixed> $args
|
258 | 193 | */
|
|
0 commit comments