Skip to content

Ensure that label values are strings in APCNg adapter #388

Ensure that label values are strings in APCNg adapter

Ensure that label values are strings in APCNg adapter #388

Re-run triggered September 30, 2024 20:41
Status Failure
Total duration 2m 35s
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.3: src/Prometheus/Storage/RedisNg.php#L286
Call to method Redis::sismember() with incorrect case: sIsMember
PHPStan on PHP 8.3: tests/Test/Prometheus/Storage/APCngTest.php#L59
Parameter #1 $labels of method Prometheus\Counter::inc() expects array<string>, array<int, int> given.
PHPStan on PHP 8.3: tests/Test/Prometheus/Storage/APCngTest.php#L62
Parameter #1 $string of function base64_encode expects string, string|false given.
PHPStan on PHP 8.3: tests/Test/Prometheus/Storage/APCngTest.php#L65
Dynamic call to static method PHPUnit\Framework\Assert::assertSame().
PHPStan on PHP 8.3: tests/Test/Prometheus/Storage/RedisNgTest.php#L87
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.3: tests/Test/Prometheus/Storage/RedisNgTest.php#L97
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.1: src/Prometheus/Storage/RedisNg.php#L286
Call to method Redis::sismember() with incorrect case: sIsMember
PHPStan on PHP 8.3: tests/Test/Prometheus/Storage/RedisNgTest.php#L101
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.1: tests/Test/Prometheus/Storage/APCngTest.php#L59
Parameter #1 $labels of method Prometheus\Counter::inc() expects array<string>, array<int, int> given.
PHPStan on PHP 8.3: tests/Test/Prometheus/Storage/RedisNgTest.php#L108
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.1: tests/Test/Prometheus/Storage/APCngTest.php#L62
Parameter #1 $string of function base64_encode expects string, string|false given.
PHPStan on PHP 8.3: tests/Test/Prometheus/Storage/RedisNgTest.php#L112
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.1: tests/Test/Prometheus/Storage/APCngTest.php#L65
Dynamic call to static method PHPUnit\Framework\Assert::assertSame().
PHPStan on PHP 8.3: tests/Test/Prometheus/Storage/RedisNgTest.php#L121
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.1: tests/Test/Prometheus/Storage/RedisNgTest.php#L87
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.1: tests/Test/Prometheus/Storage/RedisNgTest.php#L97
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.1: tests/Test/Prometheus/Storage/RedisNgTest.php#L101
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.1: tests/Test/Prometheus/Storage/RedisNgTest.php#L108
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.1: tests/Test/Prometheus/Storage/RedisNgTest.php#L112
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.1: tests/Test/Prometheus/Storage/RedisNgTest.php#L121
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.2: src/Prometheus/Storage/RedisNg.php#L286
Call to method Redis::sismember() with incorrect case: sIsMember
PHPStan on PHP 8.2: tests/Test/Prometheus/Storage/APCngTest.php#L59
Parameter #1 $labels of method Prometheus\Counter::inc() expects array<string>, array<int, int> given.
PHPStan on PHP 8.2: tests/Test/Prometheus/Storage/APCngTest.php#L62
Parameter #1 $string of function base64_encode expects string, string|false given.
PHPStan on PHP 8.2: tests/Test/Prometheus/Storage/APCngTest.php#L65
Dynamic call to static method PHPUnit\Framework\Assert::assertSame().
PHPStan on PHP 8.2: tests/Test/Prometheus/Storage/RedisNgTest.php#L87
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.2: tests/Test/Prometheus/Storage/RedisNgTest.php#L97
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.2: tests/Test/Prometheus/Storage/RedisNgTest.php#L101
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.2: tests/Test/Prometheus/Storage/RedisNgTest.php#L108
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.2: tests/Test/Prometheus/Storage/RedisNgTest.php#L112
Call to method Redis::rawcommand() with incorrect case: rawCommand
PHPStan on PHP 8.2: tests/Test/Prometheus/Storage/RedisNgTest.php#L121
Call to method Redis::rawcommand() with incorrect case: rawCommand
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/
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/
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/