Skip to content

fix codacy badge

fix codacy badge #5

Triggered via push November 30, 2023 20:29
Status Success
Total duration 35s
Artifacts

test.yml

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

Annotations

3 warnings
PHP 8.3 test on ubuntu-latest: src/Breadcrumb.php#L76
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ public function withRemoved(int $pos) : BreadcrumbInterface { if (!array_key_exists($pos, $this->items)) { - throw new OutOfBoundsException((string) message('Pos `%pos%` not found', pos: (string) $pos)); + throw new OutOfBoundsException((string) message('Pos `%pos%` not found', pos: $pos)); } $new = clone $this; unset($new->items[$pos]);
PHP 8.1 test on ubuntu-latest: src/Breadcrumb.php#L76
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ public function withRemoved(int $pos) : BreadcrumbInterface { if (!array_key_exists($pos, $this->items)) { - throw new OutOfBoundsException((string) message('Pos `%pos%` not found', pos: (string) $pos)); + throw new OutOfBoundsException((string) message('Pos `%pos%` not found', pos: $pos)); } $new = clone $this; unset($new->items[$pos]);
PHP 8.2 test on ubuntu-latest: src/Breadcrumb.php#L76
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ public function withRemoved(int $pos) : BreadcrumbInterface { if (!array_key_exists($pos, $this->items)) { - throw new OutOfBoundsException((string) message('Pos `%pos%` not found', pos: (string) $pos)); + throw new OutOfBoundsException((string) message('Pos `%pos%` not found', pos: $pos)); } $new = clone $this; unset($new->items[$pos]);