Fix PHP notice: Undefined index: samples #307
checks.yml
on: pull_request
Code Checks
14s
Matrix: phpstan
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/
|