Fix parameters leak in context validation #4557
static.yml
on: pull_request
Matrix: psalm / psalm
Matrix: psalm80 / psalm
Annotations
21 errors
MissingParamType:
src/Rule/LengthHandler.php#L24
src/Rule/LengthHandler.php:24:30: MissingParamType: Parameter $value has no provided type (see https://psalm.dev/154)
|
MissingParamType:
src/Rule/StringValueHandler.php#L21
src/Rule/StringValueHandler.php:21:30: MissingParamType: Parameter $value has no provided type (see https://psalm.dev/154)
|
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.
|
MissingParamType:
src/Rule/LengthHandler.php#L24
src/Rule/LengthHandler.php:24:30: MissingParamType: Parameter $value has no provided type (see https://psalm.dev/154)
|
MissingParamType:
src/Rule/StringValueHandler.php#L21
src/Rule/StringValueHandler.php:21:30: MissingParamType: Parameter $value has no provided type (see https://psalm.dev/154)
|
psalm / PHP 8.2-ubuntu-latest
Process completed with exit code 2.
|
psalm / PHP 8.3-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
|
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)
|
MissingParamType:
src/Rule/LengthHandler.php#L24
src/Rule/LengthHandler.php:24:30: MissingParamType: Parameter $value has no provided type (see https://psalm.dev/154)
|
MissingParamType:
src/Rule/StringValueHandler.php#L21
src/Rule/StringValueHandler.php:21:30: MissingParamType: Parameter $value has no provided type (see https://psalm.dev/154)
|
psalm80 / PHP 8.0-ubuntu-latest
Process completed with exit code 2.
|