Skip to content

Fix #13805: phpstan does not recognize keys after array literal merge correctly #24683

Fix #13805: phpstan does not recognize keys after array literal merge correctly

Fix #13805: phpstan does not recognize keys after array literal merge correctly #24683

Triggered via pull request February 12, 2026 14:42
Status Failure
Total duration 8m 35s
Artifacts 8

phar.yml

on: pull_request
Compiler Tests
2m 0s
Compiler Tests
integration-tests  /  Check PHAR checksum
5s
integration-tests / Check PHAR checksum
Download base SHA PHAR
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
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests  /  PMMP Tests
1m 10s
integration-tests / PMMP Tests
Matrix: integration-tests / integration-tests
Checksum PHAR
Checksum PHAR
PHAR Prefix Diff
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

30 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 - rectorphp/rector-src
Process completed 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: src/Core/System/Snippet/Command/Util/CountryAgnosticFileLinter.php#L87
Offset 'language' might not exist on array{0?: string, domain?: non-empty-string|null, 1?: non-empty-string|null, locale?: non-falsy-string|null, 2?: non-falsy-string|null, language?: non-falsy-string|null, 3?: non-falsy-string|null, script?: non-falsy-string|null, ...}.
integration-tests / Integration - shopware/shopware: src/Core/System/Snippet/Command/Util/CountryAgnosticFileLinter.php#L79
Parameter #3 $subject of function str_replace expects array<string>|string, string|null given.
integration-tests / Integration - shopware/shopware: src/Core/System/Snippet/Command/Util/CountryAgnosticFileLinter.php#L79
Offset 'locale' might not exist on array{0?: string, domain?: non-empty-string|null, 1?: non-empty-string|null, locale?: non-falsy-string|null, 2?: non-falsy-string|null, language?: non-falsy-string|null, 3?: non-falsy-string|null, script?: non-falsy-string|null, ...}.
integration-tests / Integration - shopware/shopware: src/Core/Framework/Script/Debugging/ScriptTraces.php#L107
Parameter #1 $array of function array_sum expects an array of values castable to number, list given.
integration-tests / Integration - shopware/shopware: src/Core/Checkout/Cart/Tax/Struct/CalculatedTaxCollection.php#L60
Parameter #1 $array of function array_sum expects an array of values castable to number, array<mixed> given.
integration-tests / Integration - shopware/shopware: src/Core/Checkout/Cart/Price/Struct/PriceCollection.php#L100
Parameter #1 $array of function array_sum expects an array of values castable to number, array<mixed> given.
integration-tests / Integration - shopware/shopware: src/Core/Checkout/Cart/Price/Struct/PriceCollection.php#L93
Parameter #1 $array of function array_sum expects an array of values castable to number, array<mixed> given.
integration-tests / Integration - shopware/shopware: src/Core/Checkout/Cart/Delivery/Struct/DeliveryPositionCollection.php#L113
Parameter #1 $array of function array_sum expects an array of values castable to number, array<mixed> given.
integration-tests / Integration - shopware/shopware: src/Core/Checkout/Cart/Delivery/Struct/DeliveryPositionCollection.php#L83
Parameter #1 $array of function array_sum expects an array of values castable to number, array<mixed> given.
integration-tests / Integration - shopware/shopware: src/Core/Checkout/Cart/Delivery/Struct/DeliveryPositionCollection.php#L76
Parameter #1 $array of function array_sum expects an array of values castable to number, array<mixed> given.
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: 34253 , 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: 34253 , 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: 34253 , Maximum supported length: 32766

Artifacts

Produced during runtime
Name Size Digest
baselines-drupal-baseline.neon
1.05 KB
sha256:6473aec18edc7e0541f2cc0798d21b0986edf7f50c1185f5a6fa68acfc74685d
baselines-laravel-baseline.neon
384 Bytes
sha256:4c07c993028e22f8206c3389254f2fe4e700471e326a0926b5860134a1ba7175
baselines-rector-baseline.neon
537 Bytes
sha256:0f66df0d893fd8038ba6d12ee0a63d570f3701ad349dd8576e05061a0db8237f
baselines-shipmonk-dead-code-detector-baseline.neon
228 Bytes
sha256:9d3d35cb4c8ef283d8491b1ccce733b7df93a3586440ea432732890afb7d5be3
baselines-shopware-baseline.neon
9.81 KB
sha256:aee8904f48deaf6e7be388d34de6ad945048b8cc5f5df08a1e3179dbb36dc411
phar-file
3.73 MB
sha256:d9f23205b23ca413ce6810ba238ed7f45505c7eb41c25bdafe1112e8da3d3d37
phar-file-checksum
3.73 MB
sha256:60f96e35966d977bc10f2fc2f4ed57b43f6b8f99ca6b1c4408d045f2c329e0f5
pocketmine-ng-baseline.neon
342 Bytes
sha256:b19a7778d467446c0ae5638e618e0c83c60462b7f4b8a59f75da5b08b663daff