Add UUID validation rule, and test #4593
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)
{
}
/**
|