Fix PHP <8.3 problems #4
Annotations
1 error and 3 warnings
psalm (lowest)
Process completed with exit code 255.
|
infection:
src/Internal/ArrayMap.php#L48
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
}
protected function doPutAll(iterable $values): void
{
- if ($values instanceof self) {
+ if (false) {
$this->kvPairs = array_replace($this->kvPairs, $values->kvPairs);
return;
}
|
infection:
src/MutableMap.php#L189
Escaped Mutant for Mutator "ProtectedVisibility":
@@ @@
/**
* @param iterable<K, V> $values
*/
- protected function doPutAll(iterable $values): void
+ private function doPutAll(iterable $values): void
{
foreach ($values as $key => $value) {
$this->put($key, $value);
|
test (8.1, lowest)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|