Skip to content

test: add new clickhouse versions, remove old (y22) #1396

test: add new clickhouse versions, remove old (y22)

test: add new clickhouse versions, remove old (y22) #1396

Triggered via pull request May 13, 2024 09:49
Status Success
Total duration 1m 2s
Artifacts

infection.yml

on: pull_request
Infection
42s
Infection
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
Infection: src/Client/PsrClickHouseClient.php#L62
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } public function executeQueryWithParams(string $query, array $params, array $settings = []): void { - $this->executeRequest($this->sqlFactory->createWithParameters($query, $params), params: $params, settings: $settings); + } public function select(string $query, Format $outputFormat, array $settings = []): Output {
Infection: src/Snippet/TableSizes.php#L54
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ ) parts USING ( table, database ) WHERE database = :database AND storage_policy <> '' GROUP BY table, database - CLICKHOUSE, ['database' => $databaseName ?? Expression::new('currentDatabase()')], $format)->data; + CLICKHOUSE, ['database' => Expression::new('currentDatabase()') ?? $databaseName], $format)->data; } }
Infection: src/Sql/ValueFormatter.php#L99
Escaped Mutant for Mutator "UnwrapArrayMap": --- Original +++ New @@ @@ throw UnsupportedParamValue::value($value); } $firstValue = $value[array_key_first($value)]; - $mapper = is_array($firstValue) ? fn($value): string => sprintf('(%s)', implode(',', array_map(fn($val) => $this->format($val), $value))) : fn($value): string => ($value === null) ? 'NULL' : $this->format($value); + $mapper = is_array($firstValue) ? fn($value): string => sprintf('(%s)', implode(',', $value)) : fn($value): string => ($value === null) ? 'NULL' : $this->format($value); return implode(',', array_map($mapper, $value)); } return $this->formatArray($value);