Skip to content

Fix #10698: False positive argument.type (… expects Foo<string|null>, Foo<string|null> given.) #24707

Fix #10698: False positive argument.type (… expects Foo<string|null>, Foo<string|null> given.)

Fix #10698: False positive argument.type (… expects Foo<string|null>, Foo<string|null> given.) #24707

Triggered via pull request February 12, 2026 15:18
Status Failure
Total duration 10m 40s
Artifacts 8

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
5s
integration-tests / Check PHAR checksum
Download base SHA PHAR
0s
Download base SHA PHAR
extension-tests  /  Check PHAR checksum
5s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
6s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests  /  PMMP Tests
1m 11s
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

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 / Integration - rectorphp/rector-src
Process completed with exit code 1.
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: 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: 33581 , 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: 33581 , 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: 33581 , Maximum supported length: 32766

Artifacts

Produced during runtime
Name Size Digest
baselines-drupal-baseline.neon
1.05 KB
sha256:ad1766f7fe3efbaf9845752cb4dd95b19d0297fa9d9d63db98bc1eb794900d75
baselines-laravel-baseline.neon
384 Bytes
sha256:5c9de8430f26acb40996086fa840fda0420ab3053f7c0a7f9f85e0f8829f33b9
baselines-rector-baseline.neon
600 Bytes
sha256:133f6e217025a9f20b94ed2ff8af5038a333681b9f99a09136df5ce88c3d5a5c
baselines-shipmonk-dead-code-detector-baseline.neon
228 Bytes
sha256:85639665ad5dcc7bede112e055e71254b58c272945a82a5f3d8123f089d9ce2f
baselines-shopware-baseline.neon
9.81 KB
sha256:f785ece08c35238e2de250bded4cc2db1badc81fb1275638236fdfdb70e9e517
phar-file
3.73 MB
sha256:714062670631faa721e54c733d49b14bc9e5573ba6fa37190b8aa5d787120f4d
phar-file-checksum
3.73 MB
sha256:9aff455792742d16ae86e27a5d70c99c600e090367fd1a9be751750d02246a57
pocketmine-ng-baseline.neon
342 Bytes
sha256:6055ad09dc19ea45ba0b8a8e681167f1ca13351181633063cc987fbb5cc50712