Add UUID validation rule, and test #4667
Annotations
4 errors
|
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.
The operation was canceled.
|
Loading