Skip to content

More precise array-item types in loops #25391

More precise array-item types in loops

More precise array-item types in loops #25391

Triggered via pull request February 26, 2026 08:00
Status Failure
Total duration 9m 45s
Artifacts 8

phar.yml

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

26 errors
integration-tests / Integration - efabrica-team/phpstan-latte
Process completed with exit code 1.
integration-tests / Integration - efabrica-team/phpstan-latte: src/Compiler/Compiler/Latte3Compiler.php#L35
Call to function is_array() with list<Latte\Extension> will always evaluate to true.
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 / 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 / PMMP Tests: src/command/defaults/TeleportCommand.php#L101
Casting to *NEVER* something that's already *NEVER*.
integration-tests / PMMP Tests: src/command/defaults/TeleportCommand.php#L100
Casting to *NEVER* something that's already *NEVER*.
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.
integration-tests / Integration - drupal/drupal
Process completed with exit code 1.
integration-tests / Integration - drupal/drupal: core/tests/Drupal/Tests/PerformanceTestTrait.php (in context of class Drupal/FunctionalJavascriptTests/PerformanceTestBase)#L166
Offset 'delete' on array{}|array{get: non-empty-array<*NEVER*, non-empty-list<*NEVER*>>} in isset() does not exist.
integration-tests / Integration - shopware/shopware: tests/migration/Core/V6_6/Migration1735112885AddDefaultSearchResultSortingTest.php#L40
Call to static method PHPUnit\Framework\Assert::assertSame() with 'core.listing…' and *NEVER* will always evaluate to false.
integration-tests / Integration - shopware/shopware: tests/migration/Core/V6_6/Migration1730059142AddNewSitemapConfigForExcludingHiddenProductsTest.php#L40
Call to static method PHPUnit\Framework\Assert::assertSame() with '{"_value": false}' and *NEVER* will always evaluate to false.
integration-tests / Integration - shopware/shopware: tests/migration/Core/V6_6/Migration1730059142AddNewSitemapConfigForExcludingHiddenProductsTest.php#L39
Call to static method PHPUnit\Framework\Assert::assertSame() with 'core.sitemap…' and *NEVER* will always evaluate to false.
integration-tests / Integration - shopware/shopware: tests/migration/Core/V6_6/Migration1671723392AddWebhookLifetimeConfigTest.php#L40
Call to static method PHPUnit\Framework\Assert::assertSame() with '{"_value": "1209600…' and *NEVER* will always evaluate to false.
integration-tests / Integration - shopware/shopware: tests/migration/Core/V6_6/Migration1671723392AddWebhookLifetimeConfigTest.php#L39
Call to static method PHPUnit\Framework\Assert::assertSame() with 'core.webhook…' and *NEVER* will always evaluate to false.
integration-tests / Integration - shopware/shopware: tests/integration/Core/Framework/App/ShopId/ShopIdProviderTest.php#L58
Call to static method PHPUnit\Framework\Assert::assertSame() with mixed and *NEVER* will always evaluate to false.
integration-tests / Integration - shopware/shopware: tests/integration/Core/Framework/App/ShopId/ShopIdProviderTest.php#L54
Call to static method PHPUnit\Framework\Assert::assertSame() with 2 and *NEVER* will always evaluate to false.
integration-tests / Integration - shopware/shopware: tests/integration/Core/Framework/App/ShopId/ShopIdProviderTest.php#L51
Call to static method PHPUnit\Framework\Assert::assertSame() with string and *NEVER* will always evaluate to false.
integration-tests / Integration - shopware/shopware: tests/integration/Core/Framework/App/Lifecycle/AppLifecycleTest.php#L364
Call to static method PHPUnit\Framework\Assert::assertSame() with 'int' and *NEVER* will always evaluate to false.

Artifacts

Produced during runtime
Name Size Digest
baselines-drupal-baseline.neon
1.15 KB
sha256:552318ade1574f5dcd3c820cf0d309bfd68db6f09ca25956cb359be83489d90e
baselines-efabrica-phpstan-latte-baseline.neon
645 Bytes
sha256:c0c78b88664ed85a070dde52c7016f7642f1dffdc1f87b1acb23fe9434649e23
baselines-laravel-baseline.neon
384 Bytes
sha256:e0c8bf5edb99c2113a22bf8f145ce70c14d0d121edb84d18f6000059000d7ec3
baselines-shipmonk-dead-code-detector-baseline.neon
228 Bytes
sha256:101834631794db14e56c769f4003cdd2fed826944a40e7d12066942b058c747d
baselines-shopware-baseline.neon
10.3 KB
sha256:b61c4d4c70bdcdec16c9fe2e65ec772416a4d6230cc8915f7a4aa77b47e87f60
phar-file
3.74 MB
sha256:925778b95642c7f5b3928fc164caac70839cc789c5dc4e30329b3a9e4cb42136
phar-file-checksum
3.74 MB
sha256:f06ef24bb63c59faa86113b47f521a11eddb8731ba70acd49a0a45d39e239447
pocketmine-ng-baseline.neon
562 Bytes
sha256:a33200c12997d5cb71cd3de860e12664b9bea5e9e0f2ce21071fdd3ecc0fbf28