Skip to content

improve

improve #1369

Triggered via push November 18, 2023 05:47
Status Success
Total duration 2m 39s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

mutation.yml

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

Annotations

10 warnings
mutation / PHP 8.1-ubuntu-latest: src/Exception/StaticObjectPropertyException.php#L11
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ { public function __construct(string $property) { - parent::__construct('Object property is static: "' . $property . '".'); + parent::__construct($property . 'Object property is static: "' . '".'); } }
mutation / PHP 8.1-ubuntu-latest: src/Exception/StaticObjectPropertyException.php#L11
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { public function __construct(string $property) { - parent::__construct('Object property is static: "' . $property . '".'); + parent::__construct($property . '".'); } }
mutation / PHP 8.1-ubuntu-latest: src/Exception/StaticObjectPropertyException.php#L11
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { public function __construct(string $property) { - parent::__construct('Object property is static: "' . $property . '".'); + parent::__construct('Object property is static: "' . '".'); } }
mutation / PHP 8.1-ubuntu-latest: src/Exception/StaticObjectPropertyException.php#L11
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ { public function __construct(string $property) { - parent::__construct('Object property is static: "' . $property . '".'); + parent::__construct('Object property is static: "' . '".' . $property); } }
mutation / PHP 8.1-ubuntu-latest: src/Exception/StaticObjectPropertyException.php#L11
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { public function __construct(string $property) { - parent::__construct('Object property is static: "' . $property . '".'); + parent::__construct('Object property is static: "' . $property); } }
mutation / PHP 8.1-ubuntu-latest: src/Exception/StaticObjectPropertyException.php#L11
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { public function __construct(string $property) { - parent::__construct('Object property is static: "' . $property . '".'); + } }
mutation / PHP 8.1-ubuntu-latest: src/Field/Base/BaseField.php#L45
Escaped Mutant for Mutator "UnwrapArrayMerge": --- Original +++ New @@ @@ public final function addContainerAttributes(array $attributes) : static { $new = clone $this; - $new->containerAttributes = array_merge($new->containerAttributes, $attributes); + $new->containerAttributes = $new->containerAttributes; return $new; } /**
mutation / PHP 8.1-ubuntu-latest: src/Field/Base/BaseField.php#L45
Escaped Mutant for Mutator "UnwrapArrayMerge": --- Original +++ New @@ @@ public final function addContainerAttributes(array $attributes) : static { $new = clone $this; - $new->containerAttributes = array_merge($new->containerAttributes, $attributes); + $new->containerAttributes = $attributes; return $new; } /**
mutation / PHP 8.1-ubuntu-latest: src/Field/Base/BaseField.php#L100
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { parent::begin(); $this->isStartedByBegin = true; - $this->beforeRender(); + $content = $this->generateBeginContent(); return $this->renderOpenContainerAndContent($content); }
mutation / PHP 8.1-ubuntu-latest: src/Field/Base/BaseField.php#L110
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ public final function render() : string { if ($this->isStartedByBegin) { - $this->isStartedByBegin = false; + $this->isStartedByBegin = true; return $this->renderEnd(); } $this->beforeRender();