Skip to content

CI

CI #296

Triggered via schedule September 26, 2026 03:29
Status Success
Total duration 2m 58s
Artifacts –

ci.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

19 warnings
PHP 8.3: src/Arr.php#L1325
Escaped Mutant for Mutator "LessThan": @@ @@ // the strict < keeps the (int) cast below warning-free. NAN/INF fail both // comparisons, -INF fails the first one. return $float >= PHP_INT_MIN - && $float < PHP_INT_MAX + && $float <= PHP_INT_MAX && (float) (int) $float === $float; }
PHP 8.3: src/Arr.php#L1324
Escaped Mutant for Mutator "LogicalAnd": @@ @@ // (float) PHP_INT_MAX rounds up to 2**63, which is NOT castable to int; // the strict < keeps the (int) cast below warning-free. NAN/INF fail both // comparisons, -INF fails the first one. - return $float >= PHP_INT_MIN - && $float < PHP_INT_MAX + return ($float >= PHP_INT_MIN || $float < PHP_INT_MAX) && (float) (int) $float === $float; }
PHP 8.3: src/Arr.php#L1267
Escaped Mutant for Mutator "Minus": @@ @@ */ private function presentEntriesReversed(int $start): \Generator { - for ($i = min($start, $this->internalLength - 1); $i >= 0; --$i) { + for ($i = min($start, $this->internalLength + 1); $i >= 0; --$i) { if (\array_key_exists($i, $this->internalArray)) { yield $i => $this->internalArray[$i]; }
PHP 8.3: src/Arr.php#L1267
Escaped Mutant for Mutator "DecrementInteger": @@ @@ */ private function presentEntriesReversed(int $start): \Generator { - for ($i = min($start, $this->internalLength - 1); $i >= 0; --$i) { + for ($i = min($start, $this->internalLength - 0); $i >= 0; --$i) { if (\array_key_exists($i, $this->internalArray)) { yield $i => $this->internalArray[$i]; }
PHP 8.3: src/Arr.php#L1249
Escaped Mutant for Mutator "DecrementInteger": @@ @@ * * @return \Generator<int, null|T, mixed, void> */ - private function presentEntries(int $start = 0): \Generator + private function presentEntries(int $start = -1): \Generator { $len = $this->internalLength;
PHP 8.3: src/Arr.php#L774
Escaped Mutant for Mutator "DecrementInteger": @@ @@ /** @var array<int, null|T> $newData */ $this->internalArray = $newData; - $this->internalLength = max(0, $len - $deleteCount + $itemCount); + $this->internalLength = max(-1, $len - $deleteCount + $itemCount); return $new; }
PHP 8.3: src/Arr.php#L743
Escaped Mutant for Mutator "DecrementInteger": @@ @@ $deleteCount = match (true) { 2 > $numArgs => $len - $start, - default => min(max(0, $deleteCount ?? 0), $len - $start), + default => min(max(0, $deleteCount ?? -1), $len - $start), }; /** @var self<T> $new */
PHP 8.4: src/Arr.php#L1325
Escaped Mutant for Mutator "LessThan": @@ @@ // the strict < keeps the (int) cast below warning-free. NAN/INF fail both // comparisons, -INF fails the first one. return $float >= PHP_INT_MIN - && $float < PHP_INT_MAX + && $float <= PHP_INT_MAX && (float) (int) $float === $float; }
PHP 8.4: src/Arr.php#L1324
Escaped Mutant for Mutator "LogicalAnd": @@ @@ // (float) PHP_INT_MAX rounds up to 2**63, which is NOT castable to int; // the strict < keeps the (int) cast below warning-free. NAN/INF fail both // comparisons, -INF fails the first one. - return $float >= PHP_INT_MIN - && $float < PHP_INT_MAX + return ($float >= PHP_INT_MIN || $float < PHP_INT_MAX) && (float) (int) $float === $float; }
PHP 8.4: src/Arr.php#L1267
Escaped Mutant for Mutator "Minus": @@ @@ */ private function presentEntriesReversed(int $start): \Generator { - for ($i = min($start, $this->internalLength - 1); $i >= 0; --$i) { + for ($i = min($start, $this->internalLength + 1); $i >= 0; --$i) { if (\array_key_exists($i, $this->internalArray)) { yield $i => $this->internalArray[$i]; }
PHP 8.4: src/Arr.php#L1267
Escaped Mutant for Mutator "DecrementInteger": @@ @@ */ private function presentEntriesReversed(int $start): \Generator { - for ($i = min($start, $this->internalLength - 1); $i >= 0; --$i) { + for ($i = min($start, $this->internalLength - 0); $i >= 0; --$i) { if (\array_key_exists($i, $this->internalArray)) { yield $i => $this->internalArray[$i]; }
PHP 8.4: src/Arr.php#L1249
Escaped Mutant for Mutator "DecrementInteger": @@ @@ * * @return \Generator<int, null|T, mixed, void> */ - private function presentEntries(int $start = 0): \Generator + private function presentEntries(int $start = -1): \Generator { $len = $this->internalLength;
PHP 8.4: src/Arr.php#L774
Escaped Mutant for Mutator "DecrementInteger": @@ @@ /** @var array<int, null|T> $newData */ $this->internalArray = $newData; - $this->internalLength = max(0, $len - $deleteCount + $itemCount); + $this->internalLength = max(-1, $len - $deleteCount + $itemCount); return $new; }
PHP 8.4: src/Arr.php#L743
Escaped Mutant for Mutator "DecrementInteger": @@ @@ $deleteCount = match (true) { 2 > $numArgs => $len - $start, - default => min(max(0, $deleteCount ?? 0), $len - $start), + default => min(max(0, $deleteCount ?? -1), $len - $start), }; /** @var self<T> $new */
PHP 8.5: src/Arr.php#L1267
Escaped Mutant for Mutator "Minus": @@ @@ */ private function presentEntriesReversed(int $start): \Generator { - for ($i = min($start, $this->internalLength - 1); $i >= 0; --$i) { + for ($i = min($start, $this->internalLength + 1); $i >= 0; --$i) { if (\array_key_exists($i, $this->internalArray)) { yield $i => $this->internalArray[$i]; }
PHP 8.5: src/Arr.php#L1267
Escaped Mutant for Mutator "DecrementInteger": @@ @@ */ private function presentEntriesReversed(int $start): \Generator { - for ($i = min($start, $this->internalLength - 1); $i >= 0; --$i) { + for ($i = min($start, $this->internalLength - 0); $i >= 0; --$i) { if (\array_key_exists($i, $this->internalArray)) { yield $i => $this->internalArray[$i]; }
PHP 8.5: src/Arr.php#L1249
Escaped Mutant for Mutator "DecrementInteger": @@ @@ * * @return \Generator<int, null|T, mixed, void> */ - private function presentEntries(int $start = 0): \Generator + private function presentEntries(int $start = -1): \Generator { $len = $this->internalLength;
PHP 8.5: src/Arr.php#L774
Escaped Mutant for Mutator "DecrementInteger": @@ @@ /** @var array<int, null|T> $newData */ $this->internalArray = $newData; - $this->internalLength = max(0, $len - $deleteCount + $itemCount); + $this->internalLength = max(-1, $len - $deleteCount + $itemCount); return $new; }
PHP 8.5: src/Arr.php#L743
Escaped Mutant for Mutator "DecrementInteger": @@ @@ $deleteCount = match (true) { 2 > $numArgs => $len - $start, - default => min(max(0, $deleteCount ?? 0), $len - $start), + default => min(max(0, $deleteCount ?? -1), $len - $start), }; /** @var self<T> $new */