Skip to content

Allow process multiple UnreachableStatementNode on NodeScopeResolver::processNodes() #19306

Allow process multiple UnreachableStatementNode on NodeScopeResolver::processNodes()

Allow process multiple UnreachableStatementNode on NodeScopeResolver::processNodes() #19306

Triggered via pull request December 21, 2024 13:26
Status Cancelled
Total duration 3m 42s
Artifacts 1

static-analysis.yml

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

Annotations

98 errors and 13 warnings
PHPStan with result cache (8.4): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Analyser/AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan with result cache (8.4): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan with result cache (8.4): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan with result cache (8.4): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan with result cache (8.4): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan with result cache (8.4)
Process completed with exit code 2.
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.1): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Analyser/AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan with result cache (8.1): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan with result cache (8.1): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan with result cache (8.1): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan with result cache (8.1): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Analyser/AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.3): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Analyser/AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan with result cache (8.3): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan with result cache (8.3): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan with result cache (8.3): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan with result cache (8.3): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Analyser/AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.2): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Analyser/AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan with result cache (8.2): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan with result cache (8.2): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan with result cache (8.2): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan with result cache (8.2): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Analyser/AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Analyser/AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Analyser/AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Analyser\AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan (8.3, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan (8.3, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan (8.3, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan (8.3, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Analyser\AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan (8.4, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan (8.4, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan (8.4, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan (8.4, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Analyser\AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan (8.2, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan (8.2, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan (8.2, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan (8.2, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Analyser\AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan (8.1, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan (8.1, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan (8.1, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan (8.1, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Analyser\AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan (8.0, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan (8.0, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan (8.0, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan (8.0, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Analyser/AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for 'sa-allow-process-multiple-unreachable' exists
PHPStan (7.4, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L117
Ignored error pattern #^Unreachable statement \- code above always terminates\.$# (deadCode.unreachable) in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Analyser\AnalyserTest.php is expected to occur 1 time, but occurred 5 times.
PHPStan (7.4, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L118
Unreachable statement - code above always terminates.
PHPStan (7.4, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L119
Unreachable statement - code above always terminates.
PHPStan (7.4, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L120
Unreachable statement - code above always terminates.
PHPStan (7.4, windows-latest): tests/PHPStan/Analyser/AnalyserTest.php#L121
Unreachable statement - code above always terminates.
PHPStan (7.4, windows-latest)
The operation was canceled.
PHPStan with result cache (8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Generate baseline
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Generate PHP baseline
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan with result cache (8.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan with result cache (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.1, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan with result cache (8.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.0, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (7.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "transformed-src". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size Digest
transformed-src Expired
4.21 MB