Skip to content

Tip about adding @phpstan-impure where applicable #26320

Tip about adding @phpstan-impure where applicable

Tip about adding @phpstan-impure where applicable #26320

Triggered via pull request February 23, 2026 08:26
Status Failure
Total duration 4m 54s
Artifacts 3

static-analysis.yml

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

Annotations

58 errors and 8 warnings
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.5, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (8.5, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan with result cache (8.3): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan with result cache (8.3): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (8.3, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan with result cache (8.2): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (8.4, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan with result cache (8.5)
Process completed with exit code 2.
PHPStan with result cache (8.5): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan with result cache (8.5): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (8.2, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
Generate baseline
Process completed with exit code 1.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (8.0, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (8.1, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (7.4, ubuntu-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (8.3, windows-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
PHPStan (8.5, windows-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (8.5, windows-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (8.2, windows-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (8.4, windows-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
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): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (7.4, windows-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
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): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (8.1, windows-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
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): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() return type with generic class PHPStan\Rules\RuleErrorBuilder does not specify its types: T
PHPStan (8.0, windows-latest): src/Rules/Comparison/PossiblyImpureTipHelper.php#L24
Method PHPStan\Rules\Comparison\PossiblyImpureTipHelper::addTip() has parameter $ruleErrorBuilder with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
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.3, windows-latest)
No files were found with the provided path: baseline-php-8.3.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.2, windows-latest)
No files were found with the provided path: baseline-php-8.2.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.

Artifacts

Produced during runtime
Name Size Digest
baseline-7.4
386 Bytes
sha256:8c90481abaee269310fce8eaf8671994fa20350ab59fd4cc4050f8f53f15508d
baseline-8.0
386 Bytes
sha256:aa67ebdebde691202b56ff529bf429638c2d3d455be9384209da56108ad2d838
baseline-8.1
386 Bytes
sha256:4f31133ac6a6372bb6074b854948889f4b41ebce787e6d92165cf50c048be77f