Skip to content

feat: add option to report ignores without comments #26338

feat: add option to report ignores without comments

feat: add option to report ignores without comments #26338

Triggered via pull request February 23, 2026 15:17
Status Failure
Total duration 5m 11s
Artifacts 3

static-analysis.yml

on: pull_request
Generate baseline
1m 25s
Generate baseline
Generate PHP baseline
1m 32s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

76 errors and 8 warnings
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L39
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan with result cache (8.4): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L33
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan with result cache (8.4): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L29
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan with result cache (8.5)
Process completed with exit code 2.
PHPStan with result cache (8.5): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L39
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan with result cache (8.5): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L33
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan with result cache (8.5): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L29
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
Generate baseline
Process completed with exit code 1.
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.5, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L39
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (8.5, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L33
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.5, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L29
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L39
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan with result cache (8.3): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L33
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan with result cache (8.3): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L29
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L39
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L33
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L29
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L39
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L33
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L29
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L39
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan with result cache (8.2): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L33
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan with result cache (8.2): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L29
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L39
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L33
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L29
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L40
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L34
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L30
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L40
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L34
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L30
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L40
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L34
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L30
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L39
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (8.2, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L33
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.2, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L29
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
PHPStan (8.5, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L39
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (8.5, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L33
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.5, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L29
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L39
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (8.4, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L33
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.4, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L29
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L39
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (8.3, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L33
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.3, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L29
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (7.4, windows-latest)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L40
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (7.4, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L34
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (7.4, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L30
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.1, windows-latest)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L40
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (8.1, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L34
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.1, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L30
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.0, windows-latest)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L40
Call to method PHPUnit\Framework\Assert::assertInstanceOf() with 'PHPStan\\Analyser\\Error' and PHPStan\Analyser\Error will always evaluate to true.
PHPStan (8.0, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L34
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.0, windows-latest): tests/PHPStan/Analyser/ReportIgnoresWithoutCommentsIntegrationTest.php#L30
Parameter #2 of function sprintf is expected to be int by placeholder #1 ("%d"), int|null given.
PHPStan (8.5, ubuntu-latest)
No files were found with the provided path: baseline-php-8.5.neon. No artifacts will be uploaded.
PHPStan (8.3, ubuntu-latest)
No files were found with the provided path: baseline-php-8.3.neon. No artifacts will be uploaded.
PHPStan (8.4, ubuntu-latest)
No files were found with the provided path: baseline-php-8.4.neon. No artifacts will be uploaded.
PHPStan (8.2, ubuntu-latest)
No files were found with the provided path: baseline-php-8.2.neon. No artifacts will be uploaded.
PHPStan (8.2, windows-latest)
No files were found with the provided path: baseline-php-8.2.neon. No artifacts will be uploaded.
PHPStan (8.5, windows-latest)
No files were found with the provided path: baseline-php-8.5.neon. No artifacts will be uploaded.
PHPStan (8.4, windows-latest)
No files were found with the provided path: baseline-php-8.4.neon. No artifacts will be uploaded.
PHPStan (8.3, windows-latest)
No files were found with the provided path: baseline-php-8.3.neon. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
baseline-7.4
469 Bytes
sha256:732a07de6075607b985b646a37b3bb5775cfacb3a4903ed0e1ca30fe095af441
baseline-8.0
469 Bytes
sha256:b91c4f7eabe9f236c792c46cd1b9018fee15b1e73623ddad62345e16c35f3fde
baseline-8.1
469 Bytes
sha256:b98634c5846c9784f683bbbf97956382b2ba40e14dd7872c075548d8801fa1df