Preserve constant array when setting a union of constant scalar keys #24891
phar.yml
on: pull_request
Compiler Tests
1m 57s
Commit PHAR
0s
Matrix: integration-tests / integration-run-phpstan
integration-tests
/
PMMP Tests
1m 9s
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
34 errors
|
extension-tests / phpdoc-parser (8.0) make phpstan
Process completed with exit code 2.
|
|
extension-tests / phpdoc-parser (8.0) make phpstan:
src/Printer/Differ.php#L98
Method PHPStan\PhpDocParser\Printer\Differ::calculateTrace() should return array{array<int, array<int, int>>, int, int} but returns array{non-empty-list<non-empty-array<int<min, 1>, float|int>>, float|int<0, max>, float|int<0, max>}.
|
|
integration-tests / Integration - shipmonk/phpstan-rules tests
Process completed with exit code 1.
|
|
extension-tests / phpdoc-parser (8.4) make phpstan
Process completed with exit code 2.
|
|
extension-tests / phpdoc-parser (8.4) make phpstan:
src/Printer/Differ.php#L98
Method PHPStan\PhpDocParser\Printer\Differ::calculateTrace() should return array{array<int, array<int, int>>, int, int} but returns array{non-empty-list<non-empty-array<int<min, 1>, float|int>>, float|int<0, max>, float|int<0, max>}.
|
|
extension-tests / phpdoc-parser (8.1) make phpstan
Process completed with exit code 2.
|
|
extension-tests / phpdoc-parser (8.1) make phpstan:
src/Printer/Differ.php#L98
Method PHPStan\PhpDocParser\Printer\Differ::calculateTrace() should return array{array<int, array<int, int>>, int, int} but returns array{non-empty-list<non-empty-array<int<min, 1>, float|int>>, float|int<0, max>, float|int<0, max>}.
|
|
extension-tests / phpdoc-parser (8.5) make phpstan
Process completed with exit code 2.
|
|
extension-tests / phpdoc-parser (8.5) make phpstan:
src/Printer/Differ.php#L98
Method PHPStan\PhpDocParser\Printer\Differ::calculateTrace() should return array{array<int, array<int, int>>, int, int} but returns array{non-empty-list<non-empty-array<int<min, 1>, float|int>>, float|int<0, max>, float|int<0, max>}.
|
|
extension-tests / phpdoc-parser (8.2) make phpstan
Process completed with exit code 2.
|
|
extension-tests / phpdoc-parser (8.2) make phpstan:
src/Printer/Differ.php#L98
Method PHPStan\PhpDocParser\Printer\Differ::calculateTrace() should return array{array<int, array<int, int>>, int, int} but returns array{non-empty-list<non-empty-array<int<min, 1>, float|int>>, float|int<0, max>, float|int<0, max>}.
|
|
extension-tests / phpdoc-parser (8.3) make phpstan
Process completed with exit code 2.
|
|
extension-tests / phpdoc-parser (8.3) make phpstan:
src/Printer/Differ.php#L98
Method PHPStan\PhpDocParser\Printer\Differ::calculateTrace() should return array{array<int, array<int, int>>, int, int} but returns array{non-empty-list<non-empty-array<int<min, 1>, float|int>>, float|int<0, max>, float|int<0, max>}.
|
|
extension-tests / phpdoc-parser (7.4) make phpstan
Process completed with exit code 2.
|
|
extension-tests / phpdoc-parser (7.4) make phpstan:
src/Printer/Differ.php#L98
Method PHPStan\PhpDocParser\Printer\Differ::calculateTrace() should return array{array<int, array<int, int>>, int, int} but returns array{non-empty-list<non-empty-array<int<min, 1>, float|int>>, float|int<0, max>, float|int<0, max>}.
|
|
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/data/bedrock/item/ItemSerializerDeserializerRegistrar.php#L615
Offset 0|1 might not exist on array{0?: 'minecraft:copper…'|'minecraft:exposed…'|'minecraft:oxidized…'|'minecraft:waxed…'|'minecraft:weathered…', 1?: 'minecraft:copper…'|'minecraft:exposed…'|'minecraft:oxidized…'|'minecraft:waxed…'|'minecraft:weathered…'}.
|
|
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 - shopware/shopware
Process completed with exit code 1.
|
|
integration-tests / Integration - shopware/shopware:
tests/unit/Core/System/UsageData/Services/EntityDispatchServiceTest.php#L618
Offset 'create'|'delete'|'update' might not exist on array{create?: int<0, max>, update?: int<0, max>, delete?: int<0, max>}.
|
|
integration-tests / Integration - shopware/shopware:
tests/integration/Core/System/SystemConfig/SystemConfigServiceTest.php#L458
Offset 'sales_channel' might not exist on array{global: array{Shopware\Core\System\SystemConfig\Event\BeforeSystemConfigMultipleChangedEvent|Shopware\Core\System\SystemConfig\Event\SystemConfigChangedHook|Shopware\Core\System\SystemConfig\Event\SystemConfigMultipleChangedEvent}, sales_channel?: non-empty-list<Shopware\Core\System\SystemConfig\Event\BeforeSystemConfigMultipleChangedEvent|Shopware\Core\System\SystemConfig\Event\SystemConfigChangedHook|Shopware\Core\System\SystemConfig\Event\SystemConfigMultipleChangedEvent>}.
|
|
integration-tests / Integration - shopware/shopware:
tests/integration/Core/System/SystemConfig/SystemConfigServiceTest.php#L457
Offset 'sales_channel' might not exist on array{global: array{Shopware\Core\System\SystemConfig\Event\BeforeSystemConfigMultipleChangedEvent|Shopware\Core\System\SystemConfig\Event\SystemConfigChangedHook|Shopware\Core\System\SystemConfig\Event\SystemConfigMultipleChangedEvent}, sales_channel?: non-empty-list<Shopware\Core\System\SystemConfig\Event\BeforeSystemConfigMultipleChangedEvent|Shopware\Core\System\SystemConfig\Event\SystemConfigChangedHook|Shopware\Core\System\SystemConfig\Event\SystemConfigMultipleChangedEvent>}.
|
|
integration-tests / Integration - shopware/shopware:
tests/integration/Core/System/SystemConfig/SystemConfigServiceTest.php#L456
Offset 'sales_channel' might not exist on array{global: array{Shopware\Core\System\SystemConfig\Event\BeforeSystemConfigMultipleChangedEvent|Shopware\Core\System\SystemConfig\Event\SystemConfigChangedHook|Shopware\Core\System\SystemConfig\Event\SystemConfigMultipleChangedEvent}, sales_channel?: non-empty-list<Shopware\Core\System\SystemConfig\Event\BeforeSystemConfigMultipleChangedEvent|Shopware\Core\System\SystemConfig\Event\SystemConfigChangedHook|Shopware\Core\System\SystemConfig\Event\SystemConfigMultipleChangedEvent>}.
|
|
integration-tests / Integration - shopware/shopware:
tests/integration/Core/System/SystemConfig/SystemConfigServiceTest.php#L453
Offset 'global' might not exist on array{global?: non-empty-list<Shopware\Core\System\SystemConfig\Event\BeforeSystemConfigMultipleChangedEvent|Shopware\Core\System\SystemConfig\Event\SystemConfigChangedHook|Shopware\Core\System\SystemConfig\Event\SystemConfigMultipleChangedEvent>, sales_channel?: non-empty-list<Shopware\Core\System\SystemConfig\Event\BeforeSystemConfigMultipleChangedEvent|Shopware\Core\System\SystemConfig\Event\SystemConfigChangedHook|Shopware\Core\System\SystemConfig\Event\SystemConfigMultipleChangedEvent>}.
|
|
integration-tests / Integration - shopware/shopware:
tests/integration/Core/System/SystemConfig/SystemConfigServiceTest.php#L452
Offset 'global' might not exist on array{global?: non-empty-list<Shopware\Core\System\SystemConfig\Event\BeforeSystemConfigMultipleChangedEvent|Shopware\Core\System\SystemConfig\Event\SystemConfigChangedHook|Shopware\Core\System\SystemConfig\Event\SystemConfigMultipleChangedEvent>, sales_channel?: non-empty-list<Shopware\Core\System\SystemConfig\Event\BeforeSystemConfigMultipleChangedEvent|Shopware\Core\System\SystemConfig\Event\SystemConfigChangedHook|Shopware\Core\System\SystemConfig\Event\SystemConfigMultipleChangedEvent>}.
|
|
integration-tests / Integration - shopware/shopware:
tests/integration/Core/System/SystemConfig/SystemConfigServiceTest.php#L451
Offset 'global' might not exist on array{global?: non-empty-list<Shopware\Core\System\SystemConfig\Event\BeforeSystemConfigMultipleChangedEvent|Shopware\Core\System\SystemConfig\Event\SystemConfigChangedHook|Shopware\Core\System\SystemConfig\Event\SystemConfigMultipleChangedEvent>, sales_channel?: non-empty-list<Shopware\Core\System\SystemConfig\Event\BeforeSystemConfigMultipleChangedEvent|Shopware\Core\System\SystemConfig\Event\SystemConfigChangedHook|Shopware\Core\System\SystemConfig\Event\SystemConfigMultipleChangedEvent>}.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Adapter/Asset/FallbackUrlPackage.php#L55
Method Shopware\Core\Framework\Adapter\Asset\FallbackUrlPackage::applyFallback() should return list<string> but returns list<bool|float|int|string|null>.
|
|
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>.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
baselines-laravel-baseline.neon
|
384 Bytes |
sha256:1d3d6d00f8a2f83d98d22cb6aede646219ae7a38f2911030f1a3a24ae5041792
|
|
|
baselines-shipmonk-dead-code-detector-baseline.neon
|
228 Bytes |
sha256:8b0b9d34733f52a16684bfbe98b9c731ae3bbe4702aa465821c16175ef10b606
|
|
|
baselines-shopware-baseline.neon
|
10.1 KB |
sha256:c4ebd41acfbf93869f320d6fa362ec5e06f26d9bdc548e392d4d89f86ad9ad5e
|
|
|
phar-file
|
3.73 MB |
sha256:cd96e8fa8aea92538c9d818914db2239bdfc5c3fa2d00e2918a199f5787df166
|
|
|
phar-file-checksum
|
3.73 MB |
sha256:7ce7c0c1358b0b36e5976ff64d6bc5e8b656516d88bd7af0128afb8ec1e3ecb2
|
|
|
pocketmine-ng-baseline.neon
|
493 Bytes |
sha256:da834f334440fe337bfc48e4cd0c309d1883988dcd75d44eb99cecd3c9cc8669
|
|