Skip to content

Sync with 1.x branch additions #4553

Sync with 1.x branch additions

Sync with 1.x branch additions #4553

Triggered via pull request May 23, 2024 09:37
Status Failure
Total duration 32s
Artifacts

static.yml

on: pull_request
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors
MissingClassConstType: src/Error.php#L18
src/Error.php:18:18: MissingClassConstType: Class constant "Yiisoft\Validator\Error::MESSAGE_NONE" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Error.php#L19
src/Error.php:19:18: MissingClassConstType: Class constant "Yiisoft\Validator\Error::MESSAGE_FORMAT" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Error.php#L20
src/Error.php:20:18: MissingClassConstType: Class constant "Yiisoft\Validator\Error::MESSAGE_TRANSLATE" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Rule/AbstractCompare.php#L50
src/Rule/AbstractCompare.php:50:21: MissingClassConstType: Class constant "Yiisoft\Validator\Rule\AbstractCompare::DEFAULT_INCORRECT_INPUT_MESSAGE" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Rule/AbstractCompare.php#L55
src/Rule/AbstractCompare.php:55:21: MissingClassConstType: Class constant "Yiisoft\Validator\Rule\AbstractCompare::DEFAULT_INCORRECT_DATA_SET_TYPE_MESSAGE" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Rule/AbstractCompare.php#L63
src/Rule/AbstractCompare.php:63:19: MissingClassConstType: Class constant "Yiisoft\Validator\Rule\AbstractCompare::VALID_TYPES" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Rule/AbstractCompare.php#L67
src/Rule/AbstractCompare.php:67:19: MissingClassConstType: Class constant "Yiisoft\Validator\Rule\AbstractCompare::VALID_OPERATORS_MAP" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Rule/AbstractNumber.php#L42
src/Rule/AbstractNumber.php:42:21: MissingClassConstType: Class constant "Yiisoft\Validator\Rule\AbstractNumber::DEFAULT_INCORRECT_INPUT_MESSAGE" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Rule/AbstractNumber.php#L46
src/Rule/AbstractNumber.php:46:21: MissingClassConstType: Class constant "Yiisoft\Validator\Rule\AbstractNumber::DEFAULT_LESS_THAN_MIN_MESSAGE" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Rule/AbstractNumber.php#L50
src/Rule/AbstractNumber.php:50:21: MissingClassConstType: Class constant "Yiisoft\Validator\Rule\AbstractNumber::DEFAULT_GREATER_THAN_MAX_MESSAGE" should have a declared type. (see https://psalm.dev/359)