Skip to content

Fix docs

Fix docs #607

Triggered via pull request May 19, 2024 14:02
Status Success
Total duration 6m 20s
Artifacts

mutation.yml

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

Annotations

9 warnings
mutation / PHP 8.3-ubuntu-latest: src/Button.php#L56
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ */ public function withoutEncodeLabels() : self { - $new = clone $this; + $new = $this; $new->encodeLabels = false; return $new; }
mutation / PHP 8.3-ubuntu-latest: src/Button.php#L67
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ */ public function label(string $value) : self { - $new = clone $this; + $new = $this; $new->label = $value; return $new; }
mutation / PHP 8.3-ubuntu-latest: src/Button.php#L80
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ */ public function options(array $value) : self { - $new = clone $this; + $new = $this; $new->options = $value; return $new; }
mutation / PHP 8.3-ubuntu-latest: src/Button.php#L93
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ */ public function tagName(string $value) : self { - $new = clone $this; + $new = $this; $new->tagName = $value; return $new; } }
mutation / PHP 8.3-ubuntu-latest: src/CloseButtonTrait.php#L41
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ */ public function withoutCloseButton() : static { - $new = clone $this; + $new = $this; $new->showCloseButton = false; return $new; }
mutation / PHP 8.3-ubuntu-latest: src/CloseButtonTrait.php#L49
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ } public function withCloseButton() : static { - $new = clone $this; + $new = $this; $new->showCloseButton = true; return $new; }
mutation / PHP 8.3-ubuntu-latest: src/CloseButtonTrait.php#L57
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ } public function withCloseButtonLabel(string|Stringable $label) : static { - $new = clone $this; + $new = $this; $new->closeButtonLabel = $label; return $new; }
mutation / PHP 8.3-ubuntu-latest: src/CloseButtonTrait.php#L65
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ } public function withEncodeCloseButton(bool $encode) : static { - $new = clone $this; + $new = $this; $new->encodeCloseButton = $encode; return $new; }
mutation / PHP 8.3-ubuntu-latest: src/CloseButtonTrait.php#L82
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ $options = $this->closeButtonOptions; $tagName = ArrayHelper::remove($options, 'tag', 'button'); Html::addCssClass($options, ['widget' => 'btn-close']); - $label = (string) $this->closeButtonLabel; + $label = $this->closeButtonLabel; $options['data-bs-dismiss'] = $this->toggleComponent(); if (!$inside) { $options['data-bs-target'] = '#' . $this->getId();