Skip to content

Unsetting optional offset might still give a list. #26318

Unsetting optional offset might still give a list.

Unsetting optional offset might still give a list. #26318

Triggered via pull request February 22, 2026 22:47
Status Failure
Total duration 4m 32s
Artifacts 3

static-analysis.yml

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

Annotations

44 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/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan with result cache (8.5)
Process completed with exit code 2.
PHPStan with result cache (8.5): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
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/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L0
Ignored error pattern #^Access to constant ONE on an unknown class EnumTypeAssertions\\Foo\.$# in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Analyser/NodeScopeResolverTest.php was not matched in reported errors.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L0
Ignored error pattern #^Access to constant ONE on an unknown class EnumTypeAssertions\\Foo\.$# in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Analyser/NodeScopeResolverTest.php was not matched in reported errors.
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
PHPStan (8.5, windows-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
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/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan (8.0, windows-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L0
Ignored error pattern #^Access to constant ONE on an unknown class EnumTypeAssertions\\Foo\.$# in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Analyser\NodeScopeResolverTest.php was not matched in reported errors.
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/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
PHPStan (7.4, windows-latest): tests/PHPStan/Analyser/NodeScopeResolverTest.php#L0
Ignored error pattern #^Access to constant ONE on an unknown class EnumTypeAssertions\\Foo\.$# in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Analyser\NodeScopeResolverTest.php was not matched in reported errors.
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/NodeScopeResolverTest.php#L32
Unreachable statement - code above always terminates.
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.5, ubuntu-latest)
No files were found with the provided path: baseline-php-8.5.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.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.
PHPStan (8.2, windows-latest)
No files were found with the provided path: baseline-php-8.2.neon. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
baseline-7.4
312 Bytes
sha256:e5e075c4d5156bbe345bcea082c2fc04c408a91d25e9335e2742cdb79ebce5a6
baseline-8.0
312 Bytes
sha256:9286e987cde238671daf49a868822220f6c9b3b32b7b6df35d986d1a1aabbbfd
baseline-8.1
312 Bytes
sha256:660875cd27b25f0ad5a9b6a853ac7f394ccd0fdacc0c73a15ec38beb01c4b521