Merge branch 'master' into fix-psalm #561
Annotations
9 errors and 5 warnings
PHP 8.1-ubuntu-latest:
src/Blog/BlogService.php#L22
InvalidReturnType: The declared return type 'Yiisoft\Data\Paginator\PaginatorInterface<array-key, App\Blog\Post>' for App\Blog\BlogService::getPosts is incorrect, got 'Yiisoft\Data\Paginator\OffsetPaginator<array-key, array<array-key, mixed>|object>'
|
PHP 8.1-ubuntu-latest:
src/Blog/BlogService.php#L28
InvalidReturnStatement: The inferred type 'Yiisoft\Data\Paginator\OffsetPaginator<array-key, array<array-key, mixed>|object>' does not match the declared return type 'Yiisoft\Data\Paginator\PaginatorInterface<array-key, App\Blog\Post>' for App\Blog\BlogService::getPosts
|
PHP 8.1-ubuntu-latest:
src/Blog/PostRepository.php#L26
InvalidReturnType: The declared return type 'Yiisoft\Yii\Cycle\Data\Reader\EntityReader<array-key, App\Blog\Post>' for App\Blog\PostRepository::findAll is incorrect, got 'Yiisoft\Yii\Cycle\Data\Reader\EntityReader<array-key, array<array-key, mixed>|object>'
|
PHP 8.1-ubuntu-latest:
src/Blog/PostRepository.php#L30
InvalidReturnStatement: The inferred type 'Yiisoft\Yii\Cycle\Data\Reader\EntityReader<array-key, array<array-key, mixed>|object>' does not match the declared return type 'Yiisoft\Yii\Cycle\Data\Reader\EntityReader<array-key, App\Blog\Post>' for App\Blog\PostRepository::findAll
|
PHP 8.1-ubuntu-latest:
src/Blog/PostRepository.php#L31
InvalidArgument: Argument 1 of Yiisoft\Yii\Cycle\Data\Reader\EntityReader::__construct expects Cycle\Database\Query\SelectQuery|Cycle\ORM\Select<object>, but Cycle\ORM\Select<App\Blog\Post>&static provided
|
PHP 8.1-ubuntu-latest:
src/User/UserRepository.php#L30
InvalidReturnType: The declared return type 'Yiisoft\Yii\Cycle\Data\Reader\EntityReader<array-key, App\User\User>' for App\User\UserRepository::findAllOrderByLogin is incorrect, got 'Yiisoft\Yii\Cycle\Data\Reader\EntityReader<array-key, array<array-key, mixed>|object>'
|
PHP 8.1-ubuntu-latest:
src/User/UserRepository.php#L34
InvalidReturnStatement: The inferred type 'Yiisoft\Yii\Cycle\Data\Reader\EntityReader<array-key, array<array-key, mixed>|object>' does not match the declared return type 'Yiisoft\Yii\Cycle\Data\Reader\EntityReader<array-key, App\User\User>' for App\User\UserRepository::findAllOrderByLogin
|
PHP 8.1-ubuntu-latest:
src/User/UserRepository.php#L34
InvalidArgument: Argument 1 of Yiisoft\Yii\Cycle\Data\Reader\EntityReader::__construct expects Cycle\Database\Query\SelectQuery|Cycle\ORM\Select<object>, but Cycle\ORM\Select<App\User\User> provided
|
PHP 8.1-ubuntu-latest
Process completed with exit code 1.
|
PHP 8.1-ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. 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
Unexpected input(s) 'working-directory', valid inputs are ['path', 'key', 'restore-keys', 'upload-chunk-size', 'enableCrossOsArchive', 'fail-on-cache-miss', 'lookup-only']
|
PHP 8.1-ubuntu-latest
Unexpected input(s) 'working-directory', valid inputs are ['repository', 'ref', 'token', 'ssh-key', 'ssh-known-hosts', 'ssh-strict', 'persist-credentials', 'path', 'clean', 'fetch-depth', 'lfs', 'submodules', 'set-safe-directory']
|
PHP 8.1-ubuntu-latest
Unexpected input(s) 'working-directory', valid inputs are ['repository', 'ref', 'token', 'ssh-key', 'ssh-known-hosts', 'ssh-strict', 'persist-credentials', 'path', 'clean', 'fetch-depth', 'lfs', 'submodules', 'set-safe-directory']
|
PHP 8.1-ubuntu-latest
Unexpected input(s) 'working-directory', valid inputs are ['php-version', 'php-version-file', 'extensions', 'ini-file', 'ini-values', 'coverage', 'tools']
|