Compliance #16321
compliance.yml
on: schedule
automation
/
Generate job matrix
9s
Matrix: automation / qa
Annotations
2 warnings
automation / [PHP8.3] Infection-locked on ubuntu:
src/Collection.php#L67
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
/** @var Closure(TValue):bool $function */
$function = match (true) {
$functionOrValue instanceof Closure => $functionOrValue,
- default => static fn(mixed $value): bool => $value === $functionOrValue,
+ default => static fn(mixed $value): bool => $value !== $functionOrValue,
};
return (bool) $this->filter($function)->count();
}
|
automation / [PHP8.3] Infection-locked on ubuntu:
src/Collection.php#L277
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$collection = $generator();
/** @var array<int,TValue> $asArray */
$asArray = iterator_to_array($collection);
- return new self(SplFixedArray::fromArray($asArray, false));
+ return new self(SplFixedArray::fromArray($asArray, true));
}
/**
* @return self<TValue>
|