Skip to content

Add UUID validation rule, and test #4593

Add UUID validation rule, and test

Add UUID validation rule, and test #4593

Triggered via pull request December 12, 2024 11:54
Status Failure
Total duration 3m 35s
Artifacts

mutation.yml

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

Annotations

1 error and 2 warnings
mutation / PHP 8.3-ubuntu-latest
Process completed with exit code 1.
mutation / PHP 8.3-ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
mutation / PHP 8.3-ubuntu-latest: src/Rule/Uuid.php#L29
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ * @param bool $skipOnError * @param Closure|null $when */ - public function __construct(private string $message = 'The value of {property} does not conform to the UUID format.', private string $notPassedMessage = '{Property} not passed.', private bool $skipOnError = false, private Closure|null $when = null) + public function __construct(private string $message = 'The value of {property} does not conform to the UUID format.', private string $notPassedMessage = '{Property} not passed.', private bool $skipOnError = true, private Closure|null $when = null) { } /**