Skip to content

Fix phpstan/phpstan#13669: Offset -1|0|1|2 might not exist on non-empty-array<-1|0|1|2, int>. #25282

Fix phpstan/phpstan#13669: Offset -1|0|1|2 might not exist on non-empty-array<-1|0|1|2, int>.

Fix phpstan/phpstan#13669: Offset -1|0|1|2 might not exist on non-empty-array<-1|0|1|2, int>. #25282

Triggered via pull request February 22, 2026 22:13
Status Failure
Total duration 8m 34s
Artifacts 6

phar.yml

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

14 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 - doctrine/orm
Process completed with exit code 1.
integration-tests / Integration - doctrine/orm: src/Internal/Hydration/AbstractHydrator.php#L381
Offset 'class' might not exist on array{class?: ReflectionClass<object>, args: array}.
integration-tests / Integration - doctrine/orm: src/Internal/Hydration/AbstractHydrator.php#L361
Ignored error pattern #^Offset 'class' might not exist on array\{class\?\: ReflectionClass\<object\>, args\: array\}\.$# (offsetAccess.notFound) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Internal/Hydration/AbstractHydrator.php is expected to occur 1 time, but occurred 2 times.
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 / PMMP Tests: src/scheduler/AsyncTask.php#L75
Property pocketmine\scheduler\AsyncTask::$progressUpdates (pmmp\thread\ThreadSafeArray<int, string>|null) is never assigned pmmp\thread\ThreadSafeArray<int, string> so it can be removed from the property type.
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
integration-tests / Integration - laravel/framework: src/Illuminate/Mail/Mailable.php#L268
No error with identifier callable.nonNativeMethod is reported on line 268.
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: 33855 , 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: 33855 , 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: 33855 , Maximum supported length: 32766

Artifacts

Produced during runtime
Name Size Digest
baselines-doctrine-orm-baseline.neon
913 Bytes
sha256:3ea97bd74ccfdbde3195f42f3e6015496952446d68254d5384f7658badf4bdc6
baselines-laravel-baseline.neon
384 Bytes
sha256:9f8551a2b693b01e2b6409209b1cb92ffde589bd864db9b38d43664aeb9e2b02
baselines-shipmonk-dead-code-detector-baseline.neon
228 Bytes
sha256:1e0d42410f26528d17223774da61998d739231d9b9470ca885c84093321fb6a3
phar-file
3.74 MB
sha256:68ddacd732584381cad53da969d6435998be121d4e1fedf4af228cfce77d3dba
phar-file-checksum
3.74 MB
sha256:48597d787cab3e74e50e5e7e198f89bccc498ff7fa4e2f5a6ccad8fd597c515d
pocketmine-ng-baseline.neon
489 Bytes
sha256:c9640e156dc26e9565247e497a8dfd538c71141e6b557271537e569ef08fe858