Skip to content

Added support of Predis library as storage adapter #392

Added support of Predis library as storage adapter

Added support of Predis library as storage adapter #392

Triggered via pull request October 14, 2024 06:21
Status Failure
Total duration 2m 31s
Artifacts

checks.yml

on: pull_request
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 8 warnings
PHPStan on PHP 8.1: src/Prometheus/Storage/Predis.php#L69
Call to an undefined method Predis\Command\Processor\ProcessorInterface&Predis\Configuration\Option\Prefix::getPrefix().
PHPStan on PHP 8.1: src/Prometheus/Storage/Predis.php#L92
Method Prometheus\Storage\Predis::setParams() has parameter $input with no value type specified in iterable type array.
PHPStan on PHP 8.1: src/Prometheus/Storage/Predis.php#L92
Method Prometheus\Storage\Predis::setParams() return type has no value type specified in iterable type array.
PHPStan on PHP 8.1: src/Prometheus/Storage/Redis.php#L209
Call to an undefined method Predis\Client|Redis::setOption().
PHPStan on PHP 8.1: src/Prometheus/Storage/Redis.php#L222
Call to an undefined method Predis\Client|Redis::pconnect().
PHPStan on PHP 8.1: src/Prometheus/Storage/Redis.php#L232
Call to an undefined method Predis\Client|Redis::getLastError().
PHPStan on PHP 8.1: src/Prometheus/Storage/Redis.php#L314
Only booleans are allowed in a negated boolean, bool|Predis\Response\Status|Redis|string given.
PHPStan on PHP 8.1: src/Prometheus/Storage/Redis.php#L410
Call to an undefined method Predis\Client|Redis::sMembers().
PHPStan on PHP 8.1: src/Prometheus/Storage/Redis.php#L414
Call to an undefined method Predis\Client|Redis::hGetAll().
PHPStan on PHP 8.1: src/Prometheus/Storage/Redis.php#L509
Argument of an invalid type array|Redis|false supplied for foreach, only iterables are supported.
PHPStan on PHP 8.2: src/Prometheus/Storage/Predis.php#L69
Call to an undefined method Predis\Command\Processor\ProcessorInterface&Predis\Configuration\Option\Prefix::getPrefix().
PHPStan on PHP 8.2: src/Prometheus/Storage/Predis.php#L92
Method Prometheus\Storage\Predis::setParams() has parameter $input with no value type specified in iterable type array.
PHPStan on PHP 8.2: src/Prometheus/Storage/Predis.php#L92
Method Prometheus\Storage\Predis::setParams() return type has no value type specified in iterable type array.
PHPStan on PHP 8.2: src/Prometheus/Storage/Redis.php#L209
Call to an undefined method Predis\Client|Redis::setOption().
PHPStan on PHP 8.2: src/Prometheus/Storage/Redis.php#L222
Call to an undefined method Predis\Client|Redis::pconnect().
PHPStan on PHP 8.2: src/Prometheus/Storage/Redis.php#L232
Call to an undefined method Predis\Client|Redis::getLastError().
PHPStan on PHP 8.2: src/Prometheus/Storage/Redis.php#L314
Only booleans are allowed in a negated boolean, bool|Predis\Response\Status|Redis|string given.
PHPStan on PHP 8.2: src/Prometheus/Storage/Redis.php#L410
Call to an undefined method Predis\Client|Redis::sMembers().
PHPStan on PHP 8.2: src/Prometheus/Storage/Redis.php#L414
Call to an undefined method Predis\Client|Redis::hGetAll().
PHPStan on PHP 8.2: src/Prometheus/Storage/Redis.php#L509
Argument of an invalid type array|Redis|false supplied for foreach, only iterables are supported.
PHPStan on PHP 8.3: src/Prometheus/Storage/Predis.php#L69
Call to an undefined method Predis\Command\Processor\ProcessorInterface&Predis\Configuration\Option\Prefix::getPrefix().
PHPStan on PHP 8.3: src/Prometheus/Storage/Predis.php#L92
Method Prometheus\Storage\Predis::setParams() has parameter $input with no value type specified in iterable type array.
PHPStan on PHP 8.3: src/Prometheus/Storage/Predis.php#L92
Method Prometheus\Storage\Predis::setParams() return type has no value type specified in iterable type array.
PHPStan on PHP 8.3: src/Prometheus/Storage/Redis.php#L209
Call to an undefined method Predis\Client|Redis::setOption().
PHPStan on PHP 8.3: src/Prometheus/Storage/Redis.php#L222
Call to an undefined method Predis\Client|Redis::pconnect().
PHPStan on PHP 8.3: src/Prometheus/Storage/Redis.php#L232
Call to an undefined method Predis\Client|Redis::getLastError().
PHPStan on PHP 8.3: src/Prometheus/Storage/Redis.php#L314
Only booleans are allowed in a negated boolean, bool|Predis\Response\Status|Redis|string given.
PHPStan on PHP 8.3: src/Prometheus/Storage/Redis.php#L410
Call to an undefined method Predis\Client|Redis::sMembers().
PHPStan on PHP 8.3: src/Prometheus/Storage/Redis.php#L414
Call to an undefined method Predis\Client|Redis::hGetAll().
PHPStan on PHP 8.3: src/Prometheus/Storage/Redis.php#L509
Argument of an invalid type array|Redis|false supplied for foreach, only iterables are supported.
PHPStan on PHP 8.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan on PHP 8.1
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPStan on PHP 8.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan on PHP 8.2
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPStan on PHP 8.3
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan on PHP 8.3
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Code Checks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Code Checks
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/