Add UUID validation rule, and test #4662
static.yml
on: pull_request
Matrix: psalm / psalm
Matrix: psalm83 / psalm
Annotations
10 errors and 2 warnings
MixedReturnTypeCoercion:
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)
|
MixedArgument:
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)
|
psalm83 / PHP 8.3-ubuntu-latest
Process completed with exit code 2.
|
MixedReturnTypeCoercion:
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)
|
MixedArgument:
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)
|
psalm / PHP 8.1-ubuntu-latest
Process completed with exit code 2.
|
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
|
MixedReturnTypeCoercion:
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)
|
MixedArgument:
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)
|
psalm / PHP 8.2-ubuntu-latest
Process completed with exit code 2.
|
psalm83 / 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
|
psalm / PHP 8.1-ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|