Skip to content

Fix #14100: Ternary does not narrow type #24741

Fix #14100: Ternary does not narrow type

Fix #14100: Ternary does not narrow type #24741

Triggered via pull request February 13, 2026 06:52
Status Failure
Total duration 8m 55s
Artifacts 8

phar.yml

on: pull_request
Compiler Tests
2m 1s
Compiler Tests
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
6s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
8s
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
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
0s
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

13 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 - symplify/phpstan-rules
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 - rectorphp/rector-src
Process completed with exit code 1.
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>.
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: 33567 , 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: 33567 , 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: 33567 , Maximum supported length: 32766

Artifacts

Produced during runtime
Name Size Digest
baselines-laravel-baseline.neon
384 Bytes
sha256:1a0c8c7903b5276e1a6df25bfc018c94899bde10e7b935156a0bff9eb0045180
baselines-rector-baseline.neon
753 Bytes
sha256:a1c34f77abe2bc5b6a665f1491d6ea2f8295fb58980d2788d0e3258a28a3b81a
baselines-shipmonk-dead-code-detector-baseline.neon
228 Bytes
sha256:49581d984d6be56409792838dd0573a8340140e370ef8cf1d5521de1c9ff3428
baselines-shopware-baseline.neon
9.89 KB
sha256:0afe50ed351a859d7b72ec517bd3fc7e094fd446af7000a4188f0bd6cfef0715
baselines-symplify-baseline.neon
1.94 KB
sha256:bf25817e6f565eb19c88b1f309f64dbb7d669b2af86f6f88e143dfa778b0bcfa
phar-file
3.73 MB
sha256:5eb41b9720abbca978cda852860c1f04bea6baa66c1384c0674d4e9faca782be
phar-file-checksum
3.73 MB
sha256:fff191a4a164d34c60ec20d3d738e1ee7dc5cb1d09cac49c98428d588d9ef86b
pocketmine-ng-baseline.neon
342 Bytes
sha256:7e7dccf62fb56d5ab2121e8f4a5c722feafb973260147d829884a3760f044a4a