test: cover uri query composition #1215
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
2 warnings
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
{
|