Skip to content

ci: test on php 8.3 (#205) #1193

ci: test on php 8.3 (#205)

ci: test on php 8.3 (#205) #1193

Triggered via push October 16, 2023 07:48
Status Success
Total duration 53s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

infection.yml

on: push
Infection
44s
Infection
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
Infection: src/Client/Http/RequestFactory.php#L48
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ $uri = $this->uriFactory->createUri($uri); } $uriQuery = $uri->getQuery(); - $uri = $uri->withQuery($uriQuery . ($uriQuery !== '' && $query !== '' ? '&' : '') . $query); + $uri = $uri->withQuery($uriQuery . ($uriQuery !== '' || $query !== '' ? '&' : '') . $query); return $this->requestFactory->createRequest('POST', $uri)->withBody($this->streamFactory->createStream($requestOptions->sql)); } }
Infection: src/Client/PsrClickHouseClient.php#L99
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ if ($values === []) { throw CannotInsert::noValues(); } - if ($columns === null) { + if ($columns !== null) { $firstRow = $values[array_key_first($values)]; $columns = array_keys($firstRow); if (is_int($columns[0])) {
Infection: src/Logger/LoggerChain.php#L17
Escaped Mutant for Mutator "UnwrapArrayFilter": --- Original +++ New @@ @@ /** @param SqlLogger[] $loggers */ public function __construct(array $loggers = []) { - $this->loggers = array_filter($loggers, static fn(SqlLogger $logger): bool => !$logger instanceof self); + $this->loggers = $loggers; } public function startQuery(string $id, string $sql) : void {
Infection: src/Logger/LoggerChain.php#L19
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ /** @param SqlLogger[] $loggers */ public function __construct(array $loggers = []) { - $this->loggers = array_filter($loggers, static fn(SqlLogger $logger): bool => !$logger instanceof self); + $this->loggers = array_filter($loggers, static fn(SqlLogger $logger): bool => !false); } public function startQuery(string $id, string $sql) : void {