Implement ArrayMergeBuilder
, GreatestBuilder
and LeastBuilder
#605
Annotations
2 errors
rector / PHP 8.4-ubuntu-latest:
tests/QueryBuilderTest.php#L721
RemoveParentCallWithoutParentRector
--- Original
+++ New
@@ -721,29 +721,17 @@
}
#[DataProviderExternal(QueryBuilderProvider::class, 'lengthBuilder')]
- public function testLengthBuilder(
- string|ExpressionInterface $operand,
- string $expectedSql,
- int $expectedResult,
- array $expectedParams = [],
- ): void {
- parent::testLengthBuilder($operand, $expectedSql, $expectedResult, $expectedParams);
+ public function testLengthBuilder(string|ExpressionInterface $operand, string $expectedSql, int $expectedResult, array $expectedParams = []): void
+ {
}
#[DataProviderExternal(QueryBuilderProvider::class, 'multiOperandFunctionBuilder')]
- public function testMultiOperandFunctionBuilder(
- string $class,
- array $operands,
- string $expectedSql,
- string|int $expectedResult,
- array $expectedParams = [],
- ): void {
- parent::testMultiOperandFunctionBuilder($class, $operands, $expectedSql, $expectedResult, $expectedParams);
+ public function testMultiOperandFunctionBuilder(string $class, array $operands, string $expectedSql, string|int $expectedResult, array $expectedParams = []): void
+ {
}
#[DataProviderExternal(QueryBuilderProvider::class, 'multiOperandFunctionClasses')]
public function testMultiOperandFunctionBuilderWithoutOperands(string $class): void
{
- parent::testMultiOperandFunctionBuilderWithoutOperands($class);
}
}
|
rector / PHP 8.4-ubuntu-latest:
tests/Provider/QueryBuilderProvider.php#L426
RemoveParentCallWithoutParentRector
--- Original
+++ New
@@ -426,7 +426,7 @@
public static function multiOperandFunctionBuilder(): array
{
- $data = parent::multiOperandFunctionBuilder();
+ $data = null;
$intQuery = self::getDb()->select(10);
$intQuerySql = '(SELECT 10)';
|