Skip to content

Remove the response value object #43

Remove the response value object

Remove the response value object #43

Triggered via push January 20, 2024 11:35
Status Failure
Total duration 36s
Artifacts

build.yml

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

Annotations

10 errors and 8 warnings
Linting: src/Concerns/RetriesHttpRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LengthAwarePagination)#L25
Parameter $callback of method Cerbero\LazyJsonPages\Paginations\LengthAwarePagination::retry() has invalid type Cerbero\LazyJsonPages\Concerns\Outcome.
Linting: src/Concerns/RetriesHttpRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LengthAwarePagination)#L43
Comparison operation ">" between int<1, max> and 0 is always true.
Linting: src/Concerns/RetriesHttpRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LengthAwarePagination)#L61
Parameter #3 $items of class Cerbero\LazyJsonPages\Exceptions\OutOfAttemptsException constructor expects Closure(): Cerbero\LazyJsonPages\Exceptions\Generator<int, mixed>, Closure(): Generator<int, mixed, mixed, void> given.
Linting: src/Concerns/SendsAsyncRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LengthAwarePagination)#L35
Generator expects value type Psr\Http\Message\ResponseInterface, mixed given.
Linting: src/Exceptions/OutOfAttemptsException.php#L27
Parameter $items of method Cerbero\LazyJsonPages\Exceptions\OutOfAttemptsException::__construct() has invalid type Cerbero\LazyJsonPages\Exceptions\Generator.
Linting: src/Exceptions/OutOfAttemptsException.php#L29
Parameter #1 $source of class Illuminate\Support\LazyCollection constructor expects (Closure(): Generator<TKey, TValue, mixed, void>)|Illuminate\Contracts\Support\Arrayable<TKey of (int|string), TValue>|iterable<TKey of (int|string), TValue>|null, Closure(): Cerbero\LazyJsonPages\Exceptions\Generator<int, mixed> given.
PHP 8.3 - prefer-stable - 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/
Linting
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.2 - prefer-lowest - 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 - prefer-stable - 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.2 - prefer-stable - 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/
Coverage
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 - prefer-lowest - 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.3 - prefer-lowest - 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/