Skip to content

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

Allow process multiple UnreachableStatementNode on NodeScopeResolver::processNodes()

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

Triggered via pull request December 21, 2024 14:38
Status Failure
Total duration 4m 24s
Artifacts 1

static-analysis.yml

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

Annotations

49 errors and 13 warnings
Generate baseline
Process completed with exit code 1.
PHPStan (8.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L329
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.2, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L434
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Analyser/NodeScopeResolver.php#L329
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan with result cache (8.2): src/Analyser/NodeScopeResolver.php#L434
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L329
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L434
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Analyser/NodeScopeResolver.php#L329
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan with result cache (8.3): src/Analyser/NodeScopeResolver.php#L434
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L329
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.1, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L434
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.1): src/Analyser/NodeScopeResolver.php#L329
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan with result cache (8.1): src/Analyser/NodeScopeResolver.php#L434
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L329
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.3, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L434
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L404
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.0, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L509
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Analyser/NodeScopeResolver.php#L329
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan with result cache (8.4): src/Analyser/NodeScopeResolver.php#L434
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L427
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (7.4, ubuntu-latest): src/Analyser/NodeScopeResolver.php#L526
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, windows-latest): src/Analyser/NodeScopeResolver.php#L329
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.4, windows-latest): src/Analyser/NodeScopeResolver.php#L329
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.1, windows-latest): src/Analyser/NodeScopeResolver.php#L434
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.4, windows-latest): src/Analyser/NodeScopeResolver.php#L434
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Analyser/NodeScopeResolver.php#L329
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.3, windows-latest): src/Analyser/NodeScopeResolver.php#L434
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Analyser/NodeScopeResolver.php#L329
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.2, windows-latest): src/Analyser/NodeScopeResolver.php#L434
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Analyser/NodeScopeResolver.php#L404
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.0, windows-latest): src/Analyser/NodeScopeResolver.php#L509
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): src/Analyser/NodeScopeResolver.php#L427
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (7.4, windows-latest): src/Analyser/NodeScopeResolver.php#L526
Parameter #1 $originalStatement of class PHPStan\Node\UnreachableStatementNode constructor expects PhpParser\Node\Stmt, PhpParser\Node\Stmt|null given.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
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 (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 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.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 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.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 (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 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
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
transformed-src
4.21 MB