Add UUID validation rule, and test #4666
Annotations
3 errors and 1 warning
Static analysis.:
src/Rule/Trait/WhenTrait.php#L49
src/Rule/Trait/WhenTrait.php:49:22: MixedReturnTypeCoercion: The declared return type 'Closure(mixed, Yiisoft\Validator\ValidationContext):bool|null' for Yiisoft\Validator\Rule\Trait\WhenTrait::getWhen is more specific than the inferred return type 'Closure|null' (see https://psalm.dev/197)
|
Static analysis.:
src/Rule/UuidHandler.php#L30
src/Rule/UuidHandler.php:30:33: MixedArgument: Argument 1 of Yiisoft\Validator\Rule\UuidHandler::validateUuid cannot be mixed, expecting string (see https://psalm.dev/030)
|
Static analysis.
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading