Skip to content

feat(snippet): add database parameter to Parts #1346

feat(snippet): add database parameter to Parts

feat(snippet): add database parameter to Parts #1346

Triggered via pull request January 17, 2024 12:05
@simPodsimPod
opened #244
parts
Status Success
Total duration 43s
Artifacts

infection.yml

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

Annotations

2 warnings
Infection: src/Client/Http/RequestFactory.php#L70
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $streamElements = [['name' => 'query', 'contents' => $requestOptions->sql]]; try { $body = new MultipartStream($streamElements); - $request = $request->withHeader('Content-Type', 'multipart/form-data; boundary=' . $body->getBoundary())->withBody($body); + $request = $request->withHeader('Content-Type', 'multipart/form-data; boundary=')->withBody($body); } catch (InvalidArgumentException) { absurd(); }
Infection: src/Client/PsrClickHouseClient.php#L54
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } public function executeQueryWithParams(string $query, array $params, array $settings = []) : void { - $this->executeRequest($this->sqlFactory->createWithParameters($query, $params), settings: $settings); + } public function select(string $query, Format $outputFormat, array $settings = []) : Output {