Skip to content

Fix #218: Add ability to set page size #551

Fix #218: Add ability to set page size

Fix #218: Add ability to set page size #551

Triggered via pull request November 8, 2024 22:29
Status Success
Total duration 2m 24s
Artifacts

mutation.yml

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

Annotations

10 warnings
mutation / PHP 8.2-ubuntu-latest: src/Column/ActionColumnRenderer.php#L103
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ }, $this->getTemplate($column, $buttons)); $content = trim($content); } - $content = "\n" . ($column->before ?? $this->before ?? '') . $content . ($column->after ?? $this->after ?? '') . "\n"; + $content = ($column->before ?? $this->before ?? '') . "\n" . $content . ($column->after ?? $this->after ?? '') . "\n"; return $cell->addAttributes($column->bodyAttributes)->content($content)->encode(false); } public function renderFooter(ColumnInterface $column, Cell $cell, GlobalContext $context) : Cell
mutation / PHP 8.2-ubuntu-latest: src/Column/ActionColumnRenderer.php#L103
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ }, $this->getTemplate($column, $buttons)); $content = trim($content); } - $content = "\n" . ($column->before ?? $this->before ?? '') . $content . ($column->after ?? $this->after ?? '') . "\n"; + $content = "\n" . $content . ($column->after ?? $this->after ?? '') . "\n"; return $cell->addAttributes($column->bodyAttributes)->content($content)->encode(false); } public function renderFooter(ColumnInterface $column, Cell $cell, GlobalContext $context) : Cell
mutation / PHP 8.2-ubuntu-latest: src/Column/ActionColumnRenderer.php#L103
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ }, $this->getTemplate($column, $buttons)); $content = trim($content); } - $content = "\n" . ($column->before ?? $this->before ?? '') . $content . ($column->after ?? $this->after ?? '') . "\n"; + $content = "\n" . $content . ($column->before ?? $this->before ?? '') . ($column->after ?? $this->after ?? '') . "\n"; return $cell->addAttributes($column->bodyAttributes)->content($content)->encode(false); } public function renderFooter(ColumnInterface $column, Cell $cell, GlobalContext $context) : Cell
mutation / PHP 8.2-ubuntu-latest: src/Column/ActionColumnRenderer.php#L103
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ }, $this->getTemplate($column, $buttons)); $content = trim($content); } - $content = "\n" . ($column->before ?? $this->before ?? '') . $content . ($column->after ?? $this->after ?? '') . "\n"; + $content = "\n" . ($column->before ?? $this->before ?? '') . ($column->after ?? $this->after ?? '') . $content . "\n"; return $cell->addAttributes($column->bodyAttributes)->content($content)->encode(false); } public function renderFooter(ColumnInterface $column, Cell $cell, GlobalContext $context) : Cell
mutation / PHP 8.2-ubuntu-latest: src/Column/ActionColumnRenderer.php#L103
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ }, $this->getTemplate($column, $buttons)); $content = trim($content); } - $content = "\n" . ($column->before ?? $this->before ?? '') . $content . ($column->after ?? $this->after ?? '') . "\n"; + $content = "\n" . ($column->before ?? $this->before ?? '') . $content . "\n"; return $cell->addAttributes($column->bodyAttributes)->content($content)->encode(false); } public function renderFooter(ColumnInterface $column, Cell $cell, GlobalContext $context) : Cell
mutation / PHP 8.2-ubuntu-latest: src/Column/ActionColumnRenderer.php#L103
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ }, $this->getTemplate($column, $buttons)); $content = trim($content); } - $content = "\n" . ($column->before ?? $this->before ?? '') . $content . ($column->after ?? $this->after ?? '') . "\n"; + $content = "\n" . ($column->before ?? $this->before ?? '') . $content . "\n" . ($column->after ?? $this->after ?? ''); return $cell->addAttributes($column->bodyAttributes)->content($content)->encode(false); } public function renderFooter(ColumnInterface $column, Cell $cell, GlobalContext $context) : Cell
mutation / PHP 8.2-ubuntu-latest: src/Column/ActionColumnRenderer.php#L104
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ }, $this->getTemplate($column, $buttons)); $content = trim($content); } - $content = "\n" . ($column->before ?? $this->before ?? '') . $content . ($column->after ?? $this->after ?? '') . "\n"; + $content = "\n" . ($this->before ?? $column->before ?? '') . $content . ($column->after ?? $this->after ?? '') . "\n"; return $cell->addAttributes($column->bodyAttributes)->content($content)->encode(false); } public function renderFooter(ColumnInterface $column, Cell $cell, GlobalContext $context) : Cell
mutation / PHP 8.2-ubuntu-latest: src/Column/ActionColumnRenderer.php#L106
Escaped Mutant for Mutator "Coalesce": --- Original +++ New @@ @@ }, $this->getTemplate($column, $buttons)); $content = trim($content); } - $content = "\n" . ($column->before ?? $this->before ?? '') . $content . ($column->after ?? $this->after ?? '') . "\n"; + $content = "\n" . ($column->before ?? $this->before ?? '') . $content . ($this->after ?? $column->after ?? '') . "\n"; return $cell->addAttributes($column->bodyAttributes)->content($content)->encode(false); } public function renderFooter(ColumnInterface $column, Cell $cell, GlobalContext $context) : Cell
mutation / PHP 8.2-ubuntu-latest: src/Column/Base/Cell.php#L38
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ */ public function encode(?bool $encode) : self { - $new = clone $this; + $new = $this; $new->encode = $encode; return $new; }
mutation / PHP 8.2-ubuntu-latest: src/Column/Base/Cell.php#L59
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ */ public function content(string|Stringable ...$content) : self { - $new = clone $this; + $new = $this; $new->content = $content; return $new; }