Skip to content

Add PDO storage adapter. #376

Add PDO storage adapter.

Add PDO storage adapter. #376

Re-run triggered August 2, 2024 17:38
Status Failure
Total duration 38s
Artifacts

checks.yml

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

Annotations

30 errors and 8 warnings
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: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\CollectorRegistryTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.2: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\CounterTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.2: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\GaugeTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.2: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\HistogramTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.2: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\SummaryTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.2
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: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\CollectorRegistryTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.3: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\CounterTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.3: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\GaugeTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.3: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\HistogramTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.3: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\SummaryTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.3
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: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\CollectorRegistryTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.1: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\CounterTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.1: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\GaugeTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.1: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\HistogramTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.1: tests/Test/Prometheus/PDO/PdoCredentialsTrait.php#L17
Method Test\Prometheus\PDO\SummaryTest::getDsn() should return string but returns string|null.
PHPStan on PHP 8.1
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/
Code Checks
The following actions uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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.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 uses Node.js version which is deprecated 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 uses Node.js version which is deprecated 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/