Skip to content

Add more docs, rename translate function #9

Add more docs, rename translate function

Add more docs, rename translate function #9

Triggered via push July 29, 2023 13:08
Status Failure
Total duration 31s
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/cache.php#L17
src/cache.php:17:13: UnnecessaryVarAnnotation: The @var Psr\SimpleCache\CacheInterface annotation for $cache is unnecessary (see https://psalm.dev/212)
InvalidClass: src/logger.php#L50
src/logger.php:50:5: InvalidClass: Class, interface or enum stringable has wrong casing (see https://psalm.dev/007)
UnnecessaryVarAnnotation: src/logger.php#L54
src/logger.php:54:13: UnnecessaryVarAnnotation: The @var Psr\Log\LoggerInterface annotation for $logger 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)
UnnecessaryVarAnnotation: src/user.php#L12
src/user.php:12:13: UnnecessaryVarAnnotation: The @var Yiisoft\User\CurrentUser annotation for $user is unnecessary (see https://psalm.dev/212)
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/cache.php#L17
src/cache.php:17:13: UnnecessaryVarAnnotation: The @var Psr\SimpleCache\CacheInterface annotation for $cache is unnecessary (see https://psalm.dev/212)
InvalidClass: src/logger.php#L50
src/logger.php:50:5: InvalidClass: Class, interface or enum stringable has wrong casing (see https://psalm.dev/007)
UnnecessaryVarAnnotation: src/logger.php#L54
src/logger.php:54:13: UnnecessaryVarAnnotation: The @var Psr\Log\LoggerInterface annotation for $logger 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)
UnnecessaryVarAnnotation: src/user.php#L12
src/user.php:12:13: UnnecessaryVarAnnotation: The @var Yiisoft\User\CurrentUser annotation for $user is unnecessary (see https://psalm.dev/212)
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/