Skip to content

Fix PHP notice: Undefined index: samples #307

Fix PHP notice: Undefined index: samples

Fix PHP notice: Undefined index: samples #307

Triggered via pull request September 15, 2023 07:10
Status Failure
Total duration 34s
Artifacts

checks.yml

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

Annotations

29 errors and 5 warnings
Code Checks
Process completed with exit code 2.
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/RedisNg.php#L477
Method Prometheus\Storage\RedisNg::removePrefixFromKey() is unused.
PHPStan on PHP 8.1: tests/Test/BlackBoxTest.php#L48
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 8.1: tests/Test/BlackBoxTest.php#L87
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 8.1: tests/Test/BlackBoxTest.php#L127
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 8.1: tests/Test/BlackBoxTest.php#L171
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 8.1
Process completed with exit code 1.
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/RedisNg.php#L477
Method Prometheus\Storage\RedisNg::removePrefixFromKey() is unused.
PHPStan on PHP 8.2: tests/Test/BlackBoxTest.php#L48
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 8.2: tests/Test/BlackBoxTest.php#L87
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 8.2: tests/Test/BlackBoxTest.php#L127
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 8.2: tests/Test/BlackBoxTest.php#L171
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 8.2
Process completed with exit code 1.
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/RedisNg.php#L477
Method Prometheus\Storage\RedisNg::removePrefixFromKey() is unused.
PHPStan on PHP 7.4: tests/Test/BlackBoxTest.php#L48
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 7.4: tests/Test/BlackBoxTest.php#L87
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 7.4: tests/Test/BlackBoxTest.php#L127
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 7.4: tests/Test/BlackBoxTest.php#L171
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 7.4
Process completed with exit code 1.
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/RedisNg.php#L477
Method Prometheus\Storage\RedisNg::removePrefixFromKey() is unused.
PHPStan on PHP 8.0: tests/Test/BlackBoxTest.php#L48
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 8.0: tests/Test/BlackBoxTest.php#L87
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 8.0: tests/Test/BlackBoxTest.php#L127
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 8.0: tests/Test/BlackBoxTest.php#L171
Function GuzzleHttp\Promise\settle not found.
PHPStan on PHP 8.0
Process completed with exit code 1.
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 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 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/