Skip to content

Fix psalm issues in PerfectHasher #17

Fix psalm issues in PerfectHasher

Fix psalm issues in PerfectHasher #17

Triggered via push September 4, 2024 09:40
Status Success
Total duration 1m 19s
Artifacts

check.yml

on: push
Matrix: psalm
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
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);