Skip to content

Simplify if-else blocks in code #130

Simplify if-else blocks in code

Simplify if-else blocks in code #130

Triggered via push July 29, 2024 19:08
Status Success
Total duration 37s
Artifacts

tests.yml

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

Annotations

3 warnings
tests (8.3, false): src/Builder.php#L128
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } public function shiftedAlternateHandling() : self { - $this->collator->setAttribute(Collator::ALTERNATE_HANDLING, Collator::SHIFTED); + return $this; } /**
tests (8.2, false): src/Builder.php#L128
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } public function shiftedAlternateHandling() : self { - $this->collator->setAttribute(Collator::ALTERNATE_HANDLING, Collator::SHIFTED); + return $this; } /**
tests (8.4, --ignore-platform-reqs, true): src/Builder.php#L128
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } public function shiftedAlternateHandling() : self { - $this->collator->setAttribute(Collator::ALTERNATE_HANDLING, Collator::SHIFTED); + return $this; } /**