Skip to content

Commit 610a3c0

Browse files
committed
Revert "Apply Rector changes (CI)"
This reverts commit 3ada594.
1 parent 935dc62 commit 610a3c0

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

tests/Provider/QueryBuilderProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ public static function multiOperandFunctionClasses(): array
586586

587587
public static function multiOperandFunctionBuilder(): array
588588
{
589-
$data = null;
589+
$data = parent::multiOperandFunctionBuilder();
590590

591591
$stringParam = new Param('{3,4,5}', DataType::STRING);
592592

tests/QueryBuilderTest.php

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -596,18 +596,30 @@ public function testCaseExpressionBuilder(
596596
}
597597

598598
#[DataProviderExternal(QueryBuilderProvider::class, 'lengthBuilder')]
599-
public function testLengthBuilder(string|ExpressionInterface $operand, string $expectedSql, int $expectedResult, array $expectedParams = []): void
600-
{
599+
public function testLengthBuilder(
600+
string|ExpressionInterface $operand,
601+
string $expectedSql,
602+
int $expectedResult,
603+
array $expectedParams = [],
604+
): void {
605+
parent::testLengthBuilder($operand, $expectedSql, $expectedResult, $expectedParams);
601606
}
602607

603608
#[DataProviderExternal(QueryBuilderProvider::class, 'multiOperandFunctionBuilder')]
604-
public function testMultiOperandFunctionBuilder(string $class, array $operands, string $expectedSql, string|int $expectedResult, array $expectedParams = []): void
605-
{
609+
public function testMultiOperandFunctionBuilder(
610+
string $class,
611+
array $operands,
612+
string $expectedSql,
613+
string|int $expectedResult,
614+
array $expectedParams = [],
615+
): void {
616+
parent::testMultiOperandFunctionBuilder($class, $operands, $expectedSql, $expectedResult, $expectedParams);
606617
}
607618

608619
#[DataProviderExternal(QueryBuilderProvider::class, 'multiOperandFunctionClasses')]
609620
public function testMultiOperandFunctionBuilderWithoutOperands(string $class): void
610621
{
622+
parent::testMultiOperandFunctionBuilderWithoutOperands($class);
611623
}
612624

613625
#[TestWith(['int[]', '::int[]', '{10,9,7,1,5,4,2,6,3}'])]

0 commit comments

Comments
 (0)