Closed boesing closed 2 years ago
ERROR: InvalidDocblock - src/Input/AbstractParamAwareInput.php:329:13 - Templated closures are not supported (see https://psalm.dev/008)
/**
* @psalm-template ValueType of mixed
* @psalm-param callable(ValueType): bool $validator
* @psalm-param ValueType $value
*/
static function ($value) use ($originalValidator) {
Description
This bumps psalm to its latest version while adding
psalm/plugin-phpunit
.This also changes some
Symfony\Component\Console\Question\Question#setValidator
callables tostatic
callables for minor speed improvements in newer PHP versions.