Skip to content

Revert "Add TypedMap" #12

Revert "Add TypedMap"

Revert "Add TypedMap" #12

Triggered via push September 4, 2024 07:51
Status Failure
Total duration 1m 11s
Artifacts

check.yml

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

Annotations

1 error and 3 warnings
infection
Process completed with exit code 1.
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/Internal/PerfectHasher.php#L113
Escaped Mutant for Mutator "AssignCoalesce": @@ @@ return self::STRING_QUOTE . addcslashes($value, self::STRING_QUOTE) . self::STRING_QUOTE; } if (\is_object($value)) { - return $this->objectHashes[$value] ??= $this->hashObject($value); + return $this->objectHashes[$value] = $this->hashObject($value); } if ($value === null) { return self::NULL;
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);