Remove the response value object #43
build.yml
on: push
Coverage
23s
Linting
18s
Matrix: tests
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)#L35
Closure invoked with 0 parameters, 1 required.
|
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/Concerns/SendsAsyncRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LengthAwarePagination)#L49
Left side of && is always true.
|
Linting:
src/Concerns/YieldsPaginatedItems.php (in context of class Cerbero/LazyJsonPages/Paginations/Pagination)#L30
Access to an undefined property object::$value.
|
Linting:
src/Concerns/YieldsPaginatedItems.php (in context of class Cerbero/LazyJsonPages/Paginations/Pagination)#L46
Generator expects key type int, int|string 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/
|