Fix phpstan/phpstan#13669: Offset -1|0|1|2 might not exist on non-empty-array<-1|0|1|2, int>. #25278
phar.yml
on: pull_request
Compiler Tests
1m 46s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests
/
PMMP Tests
1m 0s
Matrix: integration-tests / integration-tests
Checksum PHAR
0s
PHAR Prefix Diff
0s
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests
/
Integration - Update baselines
0s
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: 33638 , 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: 33638 , 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: 33638 , Maximum supported length: 32766
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
baselines-doctrine-orm-baseline.neon
|
913 Bytes |
sha256:d52a69c35fea5cda78b17b36db6be5ef00bd11602ab185cd76e2006a20f258cf
|
|
|
baselines-laravel-baseline.neon
|
384 Bytes |
sha256:7ce1d65c2c4a9b143552d455012c8b0014e6ce68d89b3167f18e49255daa7898
|
|
|
baselines-shipmonk-dead-code-detector-baseline.neon
|
228 Bytes |
sha256:d8f8716d9645fb155c295584f6c5f207492ba018f1f4261c934a869bf89d6ab6
|
|
|
phar-file
|
3.74 MB |
sha256:4f4aba13ab987dd807ea143c8efcb9c19fda7e4a6d7dc1fdcf40300b22f4b000
|
|
|
phar-file-checksum
|
3.74 MB |
sha256:30c01e445e078e0b67ce34519138ceebb005c880e28b3ec1fe096bbf3e40fffd
|
|
|
pocketmine-ng-baseline.neon
|
489 Bytes |
sha256:5f784c9b026bc7c0f50ee8231e74d430dfed99735451bd3a699a958a7897fb44
|
|