Skip to content

Fix firts page typo #269

Fix firts page typo

Fix firts page typo #269

Triggered via pull request October 9, 2023 21:04
Status Success
Total duration 2m 46s
Artifacts

mutation.yml

on: pull_request
Matrix: mutation / roave-infection
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
mutation / PHP 8.1-ubuntu-latest: src/BaseListView.php#L107
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ } return $this->paginator; } - public function getSimpleMessageFormatter() : SimpleMessageFormatter + protected function getSimpleMessageFormatter() : SimpleMessageFormatter { if ($this->simpleMessageFormatter === null) { $this->simpleMessageFormatter = new SimpleMessageFormatter();
mutation / PHP 8.1-ubuntu-latest: src/BaseListView.php#L327
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ * * @param bool $value Whether container is enabled or not. */ - public function withContainer(bool $value = true) : static + public function withContainer(bool $value = false) : static { $new = clone $this; $new->withContainer = $value;
mutation / PHP 8.1-ubuntu-latest: src/BaseListView.php#L399
Escaped Mutant for Mutator "Throw_": --- Original +++ New @@ @@ public function render() : string { if ($this->paginator === null) { - throw new Exception\PaginatorNotSetException(); + new Exception\PaginatorNotSetException(); } return $this->renderGrid(); }
mutation / PHP 8.1-ubuntu-latest: src/BaseListView.php#L431
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } /** @var OffsetPaginator $paginator */ $paginator = $this->getPaginator(); - $summary = $this->getSimpleMessageFormatter()->format($this->summary, ['currentPage' => $paginator->getCurrentPage(), 'totalPages' => $paginator->getTotalPages()]); + $summary = $this->getSimpleMessageFormatter()->format($this->summary, ['totalPages' => $paginator->getTotalPages()]); if ($this->translator !== null) { $summary = $this->translator->translate($this->summary, ['currentPage' => $paginator->getCurrentPage(), 'totalPages' => $paginator->getTotalPages()], 'dataview'); }
mutation / PHP 8.1-ubuntu-latest: src/BaseListView.php#L432
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ } /** @var OffsetPaginator $paginator */ $paginator = $this->getPaginator(); - $summary = $this->getSimpleMessageFormatter()->format($this->summary, ['currentPage' => $paginator->getCurrentPage(), 'totalPages' => $paginator->getTotalPages()]); + $summary = $this->getSimpleMessageFormatter()->format($this->summary, ['currentPage' > $paginator->getCurrentPage(), 'totalPages' => $paginator->getTotalPages()]); if ($this->translator !== null) { $summary = $this->translator->translate($this->summary, ['currentPage' => $paginator->getCurrentPage(), 'totalPages' => $paginator->getTotalPages()], 'dataview'); }
mutation / PHP 8.1-ubuntu-latest: src/BaseListView.php#L433
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ } /** @var OffsetPaginator $paginator */ $paginator = $this->getPaginator(); - $summary = $this->getSimpleMessageFormatter()->format($this->summary, ['currentPage' => $paginator->getCurrentPage(), 'totalPages' => $paginator->getTotalPages()]); + $summary = $this->getSimpleMessageFormatter()->format($this->summary, ['currentPage' => $paginator->getCurrentPage(), 'totalPages' > $paginator->getTotalPages()]); if ($this->translator !== null) { $summary = $this->translator->translate($this->summary, ['currentPage' => $paginator->getCurrentPage(), 'totalPages' => $paginator->getTotalPages()], 'dataview'); }
mutation / PHP 8.1-ubuntu-latest: src/BaseListView.php#L462
Escaped Mutant for Mutator "MatchArmRemoval": --- Original +++ New @@ @@ } return match ($this->withContainer) { true => trim($contentGrid . PHP_EOL . Div::tag()->attributes($attributes)->content(PHP_EOL . $this->renderGridTable() . PHP_EOL)->encode(false)->render()), - false => trim($contentGrid . PHP_EOL . $this->renderGridTable()), }; } private function renderGridTable() : string
mutation / PHP 8.1-ubuntu-latest: src/BaseListView.php#L470
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ } return match ($this->withContainer) { true => trim($contentGrid . PHP_EOL . Div::tag()->attributes($attributes)->content(PHP_EOL . $this->renderGridTable() . PHP_EOL)->encode(false)->render()), - false => trim($contentGrid . PHP_EOL . $this->renderGridTable()), + false => trim(PHP_EOL . $contentGrid . $this->renderGridTable()), }; } private function renderGridTable() : string
mutation / PHP 8.1-ubuntu-latest: src/BaseListView.php#L470
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } return match ($this->withContainer) { true => trim($contentGrid . PHP_EOL . Div::tag()->attributes($attributes)->content(PHP_EOL . $this->renderGridTable() . PHP_EOL)->encode(false)->render()), - false => trim($contentGrid . PHP_EOL . $this->renderGridTable()), + false => trim(PHP_EOL . $this->renderGridTable()), }; } private function renderGridTable() : string
mutation / PHP 8.1-ubuntu-latest: src/BaseListView.php#L470
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } return match ($this->withContainer) { true => trim($contentGrid . PHP_EOL . Div::tag()->attributes($attributes)->content(PHP_EOL . $this->renderGridTable() . PHP_EOL)->encode(false)->render()), - false => trim($contentGrid . PHP_EOL . $this->renderGridTable()), + false => trim($contentGrid . $this->renderGridTable()), }; } private function renderGridTable() : string