Skip to content

Add translator function #4

Add translator function

Add translator function #4

Triggered via push July 24, 2023 05:41
Status Failure
Total duration 29s
Artifacts

psalm.yaml

on: push
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 6 warnings
UnnecessaryVarAnnotation: src/alias.php#L11
src/alias.php:11:13: UnnecessaryVarAnnotation: The @var Yiisoft\Aliases\Aliases annotation for $aliases is unnecessary (see https://psalm.dev/212)
UnnecessaryVarAnnotation: src/alias.php#L20
src/alias.php:20:13: UnnecessaryVarAnnotation: The @var Yiisoft\Aliases\Aliases annotation for $aliases is unnecessary (see https://psalm.dev/212)
UnnecessaryVarAnnotation: src/response.php#L27
src/response.php:27:13: UnnecessaryVarAnnotation: The @var Psr\Http\Message\ResponseFactoryInterface annotation for $responseFactory is unnecessary (see https://psalm.dev/212)
UnnecessaryVarAnnotation: src/response.php#L62
src/response.php:62:13: UnnecessaryVarAnnotation: The @var Psr\Http\Message\ResponseFactoryInterface annotation for $responseFactory is unnecessary (see https://psalm.dev/212)
UnnecessaryVarAnnotation: src/router.php#L14
src/router.php:14:13: UnnecessaryVarAnnotation: The @var Yiisoft\Router\UrlGeneratorInterface annotation for $urlGenerator is unnecessary (see https://psalm.dev/212)
UnnecessaryVarAnnotation: src/translator.php#L14
src/translator.php:14:13: UnnecessaryVarAnnotation: The @var Yiisoft\Translator\TranslatorInterface annotation for $translator is unnecessary (see https://psalm.dev/212)
UndefinedDocblockClass: src/user.php#L20
src/user.php:20:9: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\User\CurrentUser does not exist (see https://psalm.dev/200)
UndefinedClass: src/user.php#L20
src/user.php:20:27: UndefinedClass: Class, interface or enum named Yiisoft\User\CurrentUser does not exist (see https://psalm.dev/019)
UndefinedDocblockClass: src/user.php#L21
src/user.php:21:16: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\User\CurrentUser does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: src/user.php#L26
src/user.php:26:5: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\Access\AccessCheckerInterface does not exist (see https://psalm.dev/200)
UnnecessaryVarAnnotation: src/alias.php#L11
src/alias.php:11:13: UnnecessaryVarAnnotation: The @var Yiisoft\Aliases\Aliases annotation for $aliases is unnecessary (see https://psalm.dev/212)
UnnecessaryVarAnnotation: src/alias.php#L20
src/alias.php:20:13: UnnecessaryVarAnnotation: The @var Yiisoft\Aliases\Aliases annotation for $aliases is unnecessary (see https://psalm.dev/212)
UnnecessaryVarAnnotation: src/response.php#L27
src/response.php:27:13: UnnecessaryVarAnnotation: The @var Psr\Http\Message\ResponseFactoryInterface annotation for $responseFactory is unnecessary (see https://psalm.dev/212)
UnnecessaryVarAnnotation: src/response.php#L62
src/response.php:62:13: UnnecessaryVarAnnotation: The @var Psr\Http\Message\ResponseFactoryInterface annotation for $responseFactory is unnecessary (see https://psalm.dev/212)
UnnecessaryVarAnnotation: src/router.php#L14
src/router.php:14:13: UnnecessaryVarAnnotation: The @var Yiisoft\Router\UrlGeneratorInterface annotation for $urlGenerator is unnecessary (see https://psalm.dev/212)
UnnecessaryVarAnnotation: src/translator.php#L14
src/translator.php:14:13: UnnecessaryVarAnnotation: The @var Yiisoft\Translator\TranslatorInterface annotation for $translator is unnecessary (see https://psalm.dev/212)
UndefinedDocblockClass: src/user.php#L20
src/user.php:20:9: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\User\CurrentUser does not exist (see https://psalm.dev/200)
UndefinedClass: src/user.php#L20
src/user.php:20:27: UndefinedClass: Class, interface or enum named Yiisoft\User\CurrentUser does not exist (see https://psalm.dev/019)
UndefinedDocblockClass: src/user.php#L21
src/user.php:21:16: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\User\CurrentUser does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: src/user.php#L26
src/user.php:26:5: UndefinedDocblockClass: Docblock-defined class, interface or enum named Yiisoft\Access\AccessCheckerInterface does not exist (see https://psalm.dev/200)
PHP 8.1-ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2.3.4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.1-ubuntu-latest
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.1-ubuntu-latest
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.2-ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2.3.4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.2-ubuntu-latest
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.2-ubuntu-latest
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/