Skip to content

Fix inconsistent type inference #24818

Fix inconsistent type inference

Fix inconsistent type inference #24818

Triggered via pull request February 14, 2026 13:26
Status Failure
Total duration 8m 40s
Artifacts 6

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
6s
integration-tests / Check PHAR checksum
Download base SHA PHAR
0s
Download base SHA PHAR
extension-tests  /  Check PHAR checksum
7s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
5s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests  /  PMMP Tests
1m 8s
integration-tests / PMMP Tests
Matrix: integration-tests / integration-tests
Checksum PHAR
0s
Checksum PHAR
PHAR Prefix Diff
0s
PHAR Prefix Diff
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

12 errors
integration-tests / Integration - shipmonk/phpstan-rules tests
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/dead-code-detector
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/dead-code-detector
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/dead-code-detector
Internal error: PHPStan\Analyser\NodeScopeResolver::processExprNode(): Argument #4 ($storage) must be of type PHPStan\Analyser\ExpressionResultStorage, Closure given, called in /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/vendor/shipmonk/phpstan-rules/src/Rule/ForbidCheckedExceptionInCallableRule.php on line 239 while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Compatibility/BackwardCompatibilityChecker.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
integration-tests / PMMP Tests
Process completed with exit code 1.
integration-tests / PMMP Tests: tools/generate-item-upgrade-schema.php#L80
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
The process 'C:\Program Files\PowerShell\7\pwsh.exe' failed with exit code 1
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
integration-tests / Integration - laravel/framework: src/Illuminate/Http/Client/PendingRequest.php#L1081
Variable $shouldRetry on left side of ?? always exists and is always null.
integration-tests / Integration - laravel/framework: src/Illuminate/Foundation/Console/RouteListCommand.php#L406
Variable $action on left side of ?? always exists and is not nullable.
integration-tests / Integration - shopware/shopware
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware: src/Core/Content/Media/Commands/GenerateThumbnailsCommand.php#L229
PHPDoc tag `@var` with type array<array<string>> is not subtype of native type non-empty-array<mixed>.

Artifacts

Produced during runtime
Name Size Digest
baselines-laravel-baseline.neon
384 Bytes
sha256:3ee0b9c723baee65cbffac88ea1e2b3f4f20e95f572eefaef414a22de5622210
baselines-shipmonk-dead-code-detector-baseline.neon
228 Bytes
sha256:a445edafea1235180f4aba2cd6f38b07ea22d6cf7572010624ee2616d5daa1e4
baselines-shopware-baseline.neon
9.89 KB
sha256:e36dc90b7dbb39921efa317e8016dbbc892d3b4881e26c02b890d7286bba92d6
phar-file
3.73 MB
sha256:f1bcfcbfd09875e5ecfd6a51487700df08980e09f737066022f330f41ee0a86e
phar-file-checksum
3.73 MB
sha256:b5cd3474b591569ec7ed0211c489be46929e3670b74ccc9854abed45c5120bec
pocketmine-ng-baseline.neon
342 Bytes
sha256:b0043aacc4fe0f07b0052da9f6caa36c83579386323be109055ca4a1216029e8