Skip to content

Support paginations aware of their last page #50

Support paginations aware of their last page

Support paginations aware of their last page #50

Triggered via push January 31, 2024 10:40
Status Failure
Total duration 39s
Artifacts

build.yml

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

Annotations

10 errors and 16 warnings
Linting: src/Concerns/ResolvesPages.php (in context of class Cerbero/LazyJsonPages/Paginations/Pagination)#L36
Method Cerbero\LazyJsonPages\Paginations\Pagination::pageFromParsedUri() has parameter $parsedUri with no value type specified in iterable type array.
Linting: src/Concerns/ResolvesPages.php (in context of class Cerbero/LazyJsonPages/Paginations/Pagination)#L55
Binary operation "-" between string and int results in an error.
Linting: src/Concerns/RetriesHttpRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LengthAwarePagination)#L27
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)#L45
Comparison operation ">" between int<1, max> and 0 is always true.
Linting: src/Concerns/RetriesHttpRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LengthAwarePagination)#L63
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)#L36
Generator expects value type Psr\Http\Message\ResponseInterface, mixed given.
Linting: src/Concerns/YieldsPaginatedItems.php (in context of class Cerbero/LazyJsonPages/Paginations/Pagination)#L40
Readonly property Cerbero\LazyJsonPages\Paginations\Pagination::$itemsPerPage is assigned outside of the constructor.
PHP 8.1 - prefer-stable - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/
PHP 8.3 - prefer-stable - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/
Coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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.3 - prefer-lowest - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/
PHP 8.1 - prefer-lowest - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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.2 - prefer-lowest - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/