Skip to content

Added support of Predis library as storage adapter #306

Added support of Predis library as storage adapter

Added support of Predis library as storage adapter #306

Re-run triggered October 13, 2023 05:04
Status Failure
Total duration 41s
Artifacts

checks.yml

on: pull_request
Code Checks
17s
Code Checks
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 5 warnings
PHPStan on PHP 8.1: src/Prometheus/CollectorRegistry.php#L86
Method Prometheus\Storage\Adapter::collect() invoked with 1 parameter, 0 required.
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#L208
Call to an undefined method Predis\Client|Redis::setOption().
PHPStan on PHP 8.1: src/Prometheus/Storage/Redis.php#L221
Call to an undefined method Predis\Client|Redis::pconnect().
PHPStan on PHP 8.1: src/Prometheus/Storage/Redis.php#L306
Only booleans are allowed in a negated boolean, bool|Predis\Response\Status given.
PHPStan on PHP 8.1: src/Prometheus/Storage/Redis.php#L402
Call to an undefined method Predis\Client|Redis::sMembers().
PHPStan on PHP 8.1: src/Prometheus/Storage/Redis.php#L406
Call to an undefined method Predis\Client|Redis::hGetAll().
PHPStan on PHP 8.1: src/Prometheus/Storage/Redis.php#L507
Parameter #1 $json of function json_decode expects string, string|null given.
PHPStan on PHP 7.4: src/Prometheus/CollectorRegistry.php#L86
Method Prometheus\Storage\Adapter::collect() invoked with 1 parameter, 0 required.
PHPStan on PHP 7.4: src/Prometheus/Storage/Predis.php#L69
Call to an undefined method Predis\Command\Processor\ProcessorInterface&Predis\Configuration\Option\Prefix::getPrefix().
PHPStan on PHP 7.4: 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 7.4: 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 7.4: src/Prometheus/Storage/Redis.php#L208
Call to an undefined method Predis\Client|Redis::setOption().
PHPStan on PHP 7.4: src/Prometheus/Storage/Redis.php#L221
Call to an undefined method Predis\Client|Redis::pconnect().
PHPStan on PHP 7.4: src/Prometheus/Storage/Redis.php#L306
Only booleans are allowed in a negated boolean, bool|Predis\Response\Status given.
PHPStan on PHP 7.4: src/Prometheus/Storage/Redis.php#L402
Call to an undefined method Predis\Client|Redis::sMembers().
PHPStan on PHP 7.4: src/Prometheus/Storage/Redis.php#L406
Call to an undefined method Predis\Client|Redis::hGetAll().
PHPStan on PHP 7.4: src/Prometheus/Storage/Redis.php#L507
Parameter #1 $json of function json_decode expects string, string|null given.
PHPStan on PHP 8.0: src/Prometheus/CollectorRegistry.php#L86
Method Prometheus\Storage\Adapter::collect() invoked with 1 parameter, 0 required.
PHPStan on PHP 8.0: src/Prometheus/Storage/Predis.php#L69
Call to an undefined method Predis\Command\Processor\ProcessorInterface&Predis\Configuration\Option\Prefix::getPrefix().
PHPStan on PHP 8.0: 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.0: 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.0: src/Prometheus/Storage/Redis.php#L208
Call to an undefined method Predis\Client|Redis::setOption().
PHPStan on PHP 8.0: src/Prometheus/Storage/Redis.php#L221
Call to an undefined method Predis\Client|Redis::pconnect().
PHPStan on PHP 8.0: src/Prometheus/Storage/Redis.php#L306
Only booleans are allowed in a negated boolean, bool|Predis\Response\Status given.
PHPStan on PHP 8.0: src/Prometheus/Storage/Redis.php#L402
Call to an undefined method Predis\Client|Redis::sMembers().
PHPStan on PHP 8.0: src/Prometheus/Storage/Redis.php#L406
Call to an undefined method Predis\Client|Redis::hGetAll().
PHPStan on PHP 8.0: src/Prometheus/Storage/Redis.php#L507
Parameter #1 $json of function json_decode expects string, string|null given.
PHPStan on PHP 8.2: src/Prometheus/CollectorRegistry.php#L86
Method Prometheus\Storage\Adapter::collect() invoked with 1 parameter, 0 required.
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#L208
Call to an undefined method Predis\Client|Redis::setOption().
PHPStan on PHP 8.2: src/Prometheus/Storage/Redis.php#L221
Call to an undefined method Predis\Client|Redis::pconnect().
PHPStan on PHP 8.2: src/Prometheus/Storage/Redis.php#L306
Only booleans are allowed in a negated boolean, bool|Predis\Response\Status given.
PHPStan on PHP 8.2: src/Prometheus/Storage/Redis.php#L402
Call to an undefined method Predis\Client|Redis::sMembers().
PHPStan on PHP 8.2: src/Prometheus/Storage/Redis.php#L406
Call to an undefined method Predis\Client|Redis::hGetAll().
PHPStan on PHP 8.2: src/Prometheus/Storage/Redis.php#L507
Parameter #1 $json of function json_decode expects string, string|null given.
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/
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 7.4
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.0
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 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/