Update dependencies (#130) #668
Annotations
11 errors
|
src/Command/BaseGenerateCommand.php#L123
src/Command/BaseGenerateCommand.php:123:13: RiskyTruthyFalsyComparison: Operand of type bool|mixed|null|string contains types mixed|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
src/Command/ControllerCommand.php#L25
src/Command/ControllerCommand.php:25:22: MissingPropertyType: Property Yiisoft\Yii\Gii\Command\ControllerCommand::$defaultName does not have a declared type - consider string (see https://psalm.dev/045)
|
src/Controller/DefaultController.php#L42
src/Controller/DefaultController.php:42:17: PossiblyInvalidArgument: Parameter 1 of closure passed to function array_map expects class-string<Yiisoft\Yii\Gii\GeneratorCommandInterface>, but possibly different type class-string<Yiisoft\Yii\Gii\GeneratorInterface> provided (see https://psalm.dev/092)
|
src/Controller/DefaultController.php#L60
src/Controller/DefaultController.php:60:39: InvalidArgument: Argument 1 of Yiisoft\Yii\Gii\Controller\DefaultController::serializeGenerator expects class-string<Yiisoft\Yii\Gii\GeneratorCommandInterface>, but class-string<Yiisoft\Yii\Gii\GeneratorInterface> provided (see https://psalm.dev/004)
|
src/Controller/DefaultController.php#L106
src/Controller/DefaultController.php:106:35: RiskyTruthyFalsyComparison: Operand of type false|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
src/Controller/DefaultController.php#L169
src/Controller/DefaultController.php:169:25: UndefinedMethod: Method Yiisoft\Yii\Gii\GeneratorCommandInterface::getcommandclass does not exist (see https://psalm.dev/022)
|
src/Controller/DefaultController.php#L174
src/Controller/DefaultController.php:174:23: InvalidStringClass: String cannot be used as a class (see https://psalm.dev/160)
|
src/Controller/DefaultController.php#L175
src/Controller/DefaultController.php:175:18: InvalidStringClass: String cannot be used as a class (see https://psalm.dev/160)
|
src/Controller/DefaultController.php#L176
src/Controller/DefaultController.php:176:19: InvalidStringClass: String cannot be used as a class (see https://psalm.dev/160)
|
src/Controller/DefaultController.php#L178
src/Controller/DefaultController.php:178:43: ArgumentTypeCoercion: Argument 1 of ReflectionClass::__construct expects class-string|object|trait-string, but parent type object|string provided (see https://psalm.dev/193)
|
This job was cancelled
Loading