Skip to content

Prevent php error when data was removed from redis #363

Prevent php error when data was removed from redis

Prevent php error when data was removed from redis #363

Triggered via pull request March 15, 2024 15:44
Status Failure
Total duration 1m 13s
Artifacts

checks.yml

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

Annotations

20 errors and 10 warnings
PHPStan on PHP 8.0: tests/Test/Prometheus/AbstractCounterTest.php#L199
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.0: tests/Test/Prometheus/AbstractGaugeTest.php#L333
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.0: tests/Test/Prometheus/AbstractHistogramTest.php#L487
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.0: tests/Test/Prometheus/AbstractSummaryTest.php#L583
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.0
Process completed with exit code 1.
PHPStan on PHP 8.1: tests/Test/Prometheus/AbstractCounterTest.php#L199
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.1: tests/Test/Prometheus/AbstractGaugeTest.php#L333
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.1: tests/Test/Prometheus/AbstractHistogramTest.php#L487
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.1: tests/Test/Prometheus/AbstractSummaryTest.php#L583
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.1
Process completed with exit code 1.
PHPStan on PHP 8.3: tests/Test/Prometheus/AbstractCounterTest.php#L199
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.3: tests/Test/Prometheus/AbstractGaugeTest.php#L333
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.3: tests/Test/Prometheus/AbstractHistogramTest.php#L487
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.3: tests/Test/Prometheus/AbstractSummaryTest.php#L583
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.3
Process completed with exit code 1.
PHPStan on PHP 8.2: tests/Test/Prometheus/AbstractCounterTest.php#L199
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.2: tests/Test/Prometheus/AbstractGaugeTest.php#L333
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.2: tests/Test/Prometheus/AbstractHistogramTest.php#L487
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.2: tests/Test/Prometheus/AbstractSummaryTest.php#L583
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'Prometheus\\MetricFamilySamples' and Prometheus\MetricFamilySamples will always evaluate to true.
PHPStan on PHP 8.2
Process completed with exit code 1.
PHPStan on PHP 8.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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.1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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.3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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.2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/
Code Checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/