Skip to content

Dev 3.0.0

Dev 3.0.0 #33

Triggered via pull request January 19, 2024 13:09
@lexaliumlexalium
synchronize #5
dev-3.0.0
Status Success
Total duration 35s
Artifacts

tests.yml

on: pull_request
PHPStan static code analysis
14s
PHPStan static code analysis
PHP Code Sniffer static code analysis
10s
PHP Code Sniffer static code analysis
Matrix: Mutation testing
Matrix: PHPUnit tests
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
Mutation testing (8.2): src/Exception/SteppedFormErrorsException.php#L18
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ public function __construct(public readonly array $errors) { - parent::__construct(); + } }
Mutation testing (8.2): src/Form/StepControl.php#L35
Escaped Mutant for Mutator "CastString": --- Original +++ New @@ @@ { $current = $this->storage->get(self::STORAGE_KEY); if ($current !== null) { - throw new AlreadyStartedException((string) $current); + throw new AlreadyStartedException($current); } } public function throwIfNotStarted() : void
Mutation testing (8.2): src/Form/Storage/DataStorage.php#L70
Escaped Mutant for Mutator "CastArray": --- Original +++ New @@ @@ */ private function getData() : array { - return (array) $this->storage->get(self::STORAGE_KEY, []); + return $this->storage->get(self::STORAGE_KEY, []); } /** * @return string[]
Mutation testing (8.2): src/SteppedForm.php#L139
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ { if (!$this->built) { $this->steps = $this->builder->build($entity); - $this->built = true; + $this->built = false; } } private function rebuild(mixed $entity) : void