Skip to content

Share a client per instance instead of a singleton #58

Share a client per instance instead of a singleton

Share a client per instance instead of a singleton #58

Triggered via push February 12, 2024 05:42
Status Failure
Total duration 35s
Artifacts

build.yml

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

Annotations

13 errors and 16 warnings
Linting: src/Concerns/ParsesPages.php (in context of class Cerbero/LazyJsonPages/Paginations/Pagination)#L45
Readonly property Cerbero\LazyJsonPages\Paginations\Pagination::$itemsPerPage is assigned outside of the constructor.
Linting: src/Concerns/ResolvesPages.php (in context of class Cerbero/LazyJsonPages/Paginations/Pagination)#L30
Parameter #1 $parsedUri of method Cerbero\LazyJsonPages\Paginations\Pagination::pageFromParsedUri() expects array, array<string, int|string>|false given.
Linting: src/Concerns/ResolvesPages.php (in context of class Cerbero/LazyJsonPages/Paginations/Pagination)#L39
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)#L58
Binary operation "-" between string and int results in an error.
Linting: src/Concerns/RetriesHttpRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LastPageAwarePagination)#L27
Parameter $callback of method Cerbero\LazyJsonPages\Paginations\LastPageAwarePagination::retry() has invalid type Cerbero\LazyJsonPages\Concerns\Outcome.
Linting: src/Concerns/RetriesHttpRequests.php (in context of class Cerbero/LazyJsonPages/Paginations/LastPageAwarePagination)#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.
PHP 8.1 - prefer-lowest - ubuntu-latest
Process completed with exit code 1.
PHP 8.2 - prefer-lowest - ubuntu-latest
Process completed with exit code 1.
PHP 8.3 - prefer-lowest - ubuntu-latest
Process completed with exit code 1.
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.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/
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/
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/
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/
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.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/