Skip to content

Fix #7981: Cast of nullable object to int is not use to enforce non null object. #24731

Fix #7981: Cast of nullable object to int is not use to enforce non null object.

Fix #7981: Cast of nullable object to int is not use to enforce non null object. #24731

Triggered via pull request February 12, 2026 19:37
Status Failure
Total duration 8m 59s
Artifacts 5

phar.yml

on: pull_request
Compiler Tests
2m 3s
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
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
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

9 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.
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: 33686 , 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: 33686 , 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: 33686 , Maximum supported length: 32766

Artifacts

Produced during runtime
Name Size Digest
baselines-laravel-baseline.neon
384 Bytes
sha256:5ce0d32e66f29f4fc1d58c06f6f28ceb5a86e786ce512e3647da2a355ecb4653
baselines-shipmonk-dead-code-detector-baseline.neon
228 Bytes
sha256:86e7461135a5ee74df2b0e6888479f754c61b5d827264735427107d3ef16c57c
phar-file
3.73 MB
sha256:57c0732cba5271072433399228b273e7b8b648e39253ee13c4d9518d023e0ac0
phar-file-checksum
3.73 MB
sha256:de34fd2ebf0c618270cb1c7901f3db2c817e83fd81e89681ecbee0f0f85aa238
pocketmine-ng-baseline.neon
342 Bytes
sha256:aa5c58981f1fce69061e6eb96d1687457dbf844ef52aaf523ae610700c7ef05c