Skip to content

Fix #13000: Help phpstan understand what shape array has been created when looping over an array with known shape #24948

Fix #13000: Help phpstan understand what shape array has been created when looping over an array with known shape

Fix #13000: Help phpstan understand what shape array has been created when looping over an array with known shape #24948

Triggered via pull request February 16, 2026 16:07
Status Failure
Total duration 8m 56s
Artifacts 6

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
7s
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
7s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests  /  PMMP Tests
1m 9s
integration-tests / PMMP Tests
Matrix: integration-tests / integration-tests
Checksum PHAR
Checksum PHAR
PHAR Prefix Diff
0s
PHAR Prefix Diff
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
0s
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 3 warnings
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.
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/Framework/Adapter/Asset/FallbackUrlPackage.php#L55
Method Shopware\Core\Framework\Adapter\Asset\FallbackUrlPackage::applyFallback() should return list<string> but returns list<bool|float|int|string|null>.
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>.
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 34444 , Maximum supported length: 32766
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 34444 , Maximum supported length: 32766
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 34444 , Maximum supported length: 32766

Artifacts

Produced during runtime
Name Size Digest
baselines-laravel-baseline.neon
384 Bytes
sha256:f652c1e84084d8526fdddc9cc5eebcf272b246df89cf31c20ceb8f5a6032db6e
baselines-shipmonk-dead-code-detector-baseline.neon
228 Bytes
sha256:fbcee929ef5b741a0706fd783106a309fb7997d5cb168bf09cf229e383607cf4
baselines-shopware-baseline.neon
9.84 KB
sha256:99d4295023194e62e3fbe2e1525d0abc355fa0f37a967104ccfbd77dd8375b35
phar-file
3.74 MB
sha256:7cc29b85a4c0823103db9f1607c3cd3b9706de64dbcdc9824dd69e465a06f93a
phar-file-checksum
3.74 MB
sha256:0aa0c6a662cd73550c7d52d10a303b973f2cabeb150402754ba297c0f38fffdb
pocketmine-ng-baseline.neon
342 Bytes
sha256:cb3124346b0d281d9f404002a0f80ac8a295995720d46008c679303fd347e451