Skip to content

Tip about adding @phpstan-impure where applicable #26312

Tip about adding @phpstan-impure where applicable

Tip about adding @phpstan-impure where applicable #26312

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

static-analysis.yml

on: pull_request
Generate baseline
1m 34s
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

58 errors and 8 warnings
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 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 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.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 (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 (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 with result cache (8.3)
Process completed with exit code 2.
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.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 (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 (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.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.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.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 (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.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.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 (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.3, ubuntu-latest)
No files were found with the provided path: baseline-php-8.3.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.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, windows-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.4, windows-latest)
No files were found with the provided path: baseline-php-8.4.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.

Artifacts

Produced during runtime
Name Size Digest
baseline-7.4
386 Bytes
sha256:a18c3927717e9ede932b25cd7e874dc5cb7cb26e0cf40bbd51ac73cf9f372aaa
baseline-8.0
386 Bytes
sha256:3802a0176a823b2be7fed81eb6d8c7067894909c641d496e555403ad7557b025
baseline-8.1
386 Bytes
sha256:7a7c9ab769e5318be85c61a7651509ec17d2b1ef7694179abb154619de8dbb38