Improve intersection of ConstantArray and AccessoryIsList #25471
phar.yml
on: pull_request
Compiler Tests
2m 7s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests
/
PMMP Tests
1m 22s
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
45 errors
|
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/Mapping/ClassMetadata.php#L1449
Parameter #1 $mappingArray of static method Doctrine\ORM\Mapping\AssociationMapping::fromMappingArray() expects array{fieldName: string, sourceEntity: class-string, targetEntity: class-string, cascade?: list<'all'|'detach'|'persist'|'refresh'|'remove'>, fetch?: 2|3|4|null, inherited?: class-string|null, declared?: class-string|null, cache?: array<mixed>|null, ...}, non-empty-array<mixed> given.
|
|
integration-tests / Integration - doctrine/orm:
src/Mapping/ClassMetadata.php#L1448
Parameter #1 $mappingArray of static method Doctrine\ORM\Mapping\ManyToManyOwningSideMapping::fromMappingArrayAndNamingStrategy() expects array{fieldName: string, sourceEntity: class-string, targetEntity: class-string, cascade?: list<'all'|'detach'|'persist'|'refresh'|'remove'>, fetch?: 2|3|4|null, inherited?: class-string|null, declared?: class-string|null, cache?: array<mixed>|null, ...}, non-empty-array<mixed> given.
|
|
integration-tests / Integration - doctrine/orm:
src/Mapping/ClassMetadata.php#L1440
Parameter #1 $mappingArray of static method Doctrine\ORM\Mapping\OneToManyAssociationMapping::fromMappingArrayAndName() expects array{fieldName: string, sourceEntity: class-string, targetEntity: class-string, cascade?: list<'all'|'detach'|'persist'|'refresh'|'remove'>, fetch?: 2|3|4|null, inherited?: class-string|null, declared?: class-string|null, cache?: array<mixed>|null, ...}, non-empty-array<mixed> given.
|
|
integration-tests / Integration - doctrine/orm:
src/Mapping/ClassMetadata.php#L1432
Parameter #1 $mappingArray of static method Doctrine\ORM\Mapping\ToOneOwningSideMapping::fromMappingArrayAndName() expects array{fieldName: string, sourceEntity: class-string, targetEntity: class-string, cascade?: list<'all'|'detach'|'persist'|'refresh'|'remove'>, fetch?: 2|3|4|null, inherited?: class-string|null, declared?: class-string|null, cache?: array<mixed>|null, ...}, non-empty-array<mixed> given.
|
|
integration-tests / Integration - doctrine/orm:
src/Mapping/ClassMetadata.php#L1428
Parameter #1 $mappingArray of static method Doctrine\ORM\Mapping\ToOneInverseSideMapping::fromMappingArrayAndName() expects array{fieldName: string, sourceEntity: class-string, targetEntity: class-string, cascade?: list<'all'|'detach'|'persist'|'refresh'|'remove'>, fetch?: 2|3|4|null, inherited?: class-string|null, declared?: class-string|null, cache?: array<mixed>|null, ...}, non-empty-array<mixed> given.
|
|
integration-tests / Integration - doctrine/orm:
src/Mapping/ClassMetadata.php#L1422
Parameter #1 $mappingArray of static method Doctrine\ORM\Mapping\ToOneOwningSideMapping::fromMappingArrayAndName() expects array{fieldName: string, sourceEntity: class-string, targetEntity: class-string, cascade?: list<'all'|'detach'|'persist'|'refresh'|'remove'>, fetch?: 2|3|4|null, inherited?: class-string|null, declared?: class-string|null, cache?: array<mixed>|null, ...}, non-empty-array<mixed> given.
|
|
integration-tests / Integration - doctrine/dbal
Process completed with exit code 1.
|
|
integration-tests / Integration - doctrine/dbal:
src/Driver/PDO/SQLSrv/Driver.php#L98
Only booleans are allowed in a ternary operator condition, mixed given.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte
Process completed with exit code 1.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/Resolver/ValueResolver/ValueResolver.php#L92
Parameter #2 $array of function implode expects array<string>, list<mixed> given.
|
|
integration-tests / Integration - efabrica-team/phpstan-latte:
src/Compiler/NodeVisitor/Behavior/ComponentsNodeVisitorBehavior.php (in context of class Efabrica/PHPStanLatte/Compiler/NodeVisitor/AddTypeToComponentNodeVisitor)#L76
Parameter #2 $array of function implode expects array<string>, list<mixed> given.
|
|
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 - Roave/BetterReflection
Process completed with exit code 1.
|
|
integration-tests / Integration - Roave/BetterReflection:
src/Util/FileHelper.php#L46
Offset 2 might not exist on non-empty-list{0?: string, 1?: non-empty-string, 2?: non-empty-string}.
|
|
integration-tests / Integration - Roave/BetterReflection:
src/Util/FileHelper.php#L46
Offset 1 might not exist on non-empty-list{0?: string, 1?: non-empty-string, 2?: non-empty-string}.
|
|
integration-tests / PMMP Tests:
src/item/Item.php#L741
Cannot cast mixed to int.
|
|
integration-tests / PMMP Tests:
src/item/Item.php#L740
Cannot cast mixed to int.
|
|
integration-tests / PMMP Tests:
src/item/Item.php#L739
Cannot cast mixed to int.
|
|
integration-tests / PMMP Tests:
src/command/defaults/WhitelistCommand.php#L92
Parameter #2 $array of function implode expects array<string>, list<mixed> given.
|
|
integration-tests / PMMP Tests:
src/command/defaults/WhitelistCommand.php#L91
Parameter #1 $array of function sort expects an array of values castable to string, array<mixed> given.
|
|
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 / PMMP Tests:
src/Server.php#L1192
Cannot cast mixed to string.
|
|
integration-tests / PMMP Tests:
src/Server.php#L758
Ignored error pattern #^Cannot cast mixed to string\.$# (cast.string) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Server.php is expected to occur 1 time, but occurred 2 times.
|
|
integration-tests / PMMP Tests:
build/generate-block-serializer-consts.php#L181
Parameter #1 $array of function sort expects an array of values castable to string, array<mixed> given.
|
|
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:
src/Storefront/Framework/Twig/TemplateDataExtension.php#L87
Offset 1 might not exist on non-empty-list{0?: string, 1?: non-empty-string, 2?: non-empty-string}.
|
|
integration-tests / Integration - shopware/shopware:
src/Storefront/Controller/ContextController.php#L126
Offset 'host' might not exist on non-empty-array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Installer/Controller/FinishController.php#L72
Offset 'host' might not exist on non-empty-array{scheme?: string, host?: string, port?: int<0, 65535>, user?: string, pass?: string, path?: string, query?: string, fragment?: string}.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Feature/FeatureFlagRegistry.php#L89
Casting to bool something that's already *NEVER*.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/DevOps/Test/AnnotationTagTester.php#L151
Offset 4 might not exist on non-empty-list{0?: string, 1?: non-empty-string|null, 2?: string|null, 3?: non-empty-string|null, 4?: string|null}.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/DevOps/Test/AnnotationTagTester.php#L151
Offset 3 might not exist on non-empty-list{0?: string, 1?: non-empty-string|null, 2?: string|null, 3?: non-empty-string|null, 4?: string|null}.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/DevOps/Test/AnnotationTagTester.php#L150
Offset 2 might not exist on non-empty-list{0?: string, 1?: non-empty-string|null, 2?: string|null, 3?: non-empty-string|null, 4?: string|null}.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/DevOps/Test/AnnotationTagTester.php#L150
Offset 1 might not exist on non-empty-list{0?: string, 1?: non-empty-string|null, 2?: string|null, 3?: non-empty-string|null, 4?: string|null}.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Cart/LineItemFactoryRegistry.php#L99
Parameter #2 $data of method Shopware\Core\Checkout\Cart\LineItemFactoryHandler\LineItemFactoryInterface::update() expects array<string, mixed>, array<int|string, mixed> given.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Cart/LineItemFactoryRegistry.php#L54
Parameter #1 $data of method Shopware\Core\Checkout\Cart\LineItemFactoryHandler\LineItemFactoryInterface::create() expects array<string, mixed>, array<int|string, mixed> given.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
baselines-better-reflection-baseline.neon
|
363 Bytes |
sha256:5336e29615fc6a6aa4adc05460883db2a3398144c3cc8341c4739c906fea56a4
|
|
|
baselines-doctrine-dbal-baseline.neon
|
1010 Bytes |
sha256:0c4aa9314bd47bed4f94abbb08cbe98f9559f2a9ab1923543f23045be05626df
|
|
|
baselines-doctrine-orm-baseline.neon
|
1.16 KB |
sha256:66956daa862b4474685b7c9143d04dd40276614f32c08cef5fcd931df373b7f1
|
|
|
baselines-drupal-baseline.neon
|
1.15 KB |
sha256:d063cca122c5437fefe169d70f4bffe17cc3eab729b4376d4898c591d730402d
|
|
|
baselines-efabrica-phpstan-latte-baseline.neon
|
706 Bytes |
sha256:7278c621fb70d1380ef3ae3c51c78306c86e38a4f3422ec5fd492763151574d1
|
|
|
baselines-laravel-baseline.neon
|
384 Bytes |
sha256:73741614d062ae01dc23b93d5c3f26d255d940716cb3063f0260009dfc0086c1
|
|
|
baselines-shipmonk-dead-code-detector-baseline.neon
|
228 Bytes |
sha256:e9a35cf5e0c306bb1d1aef6ea658bd63e234392725090a56905daffc754d4dbe
|
|
|
baselines-shopware-baseline.neon
|
10.5 KB |
sha256:998dfb0a59ca3e75c9e85eab7d94168079cb22d6af9e9d630c29d0aa7b6af459
|
|
|
phar-file
|
3.74 MB |
sha256:a27c939638f93c96baf8cccf7708f1e19627abcafcfa1ec2d807800dc7dea915
|
|
|
phar-file-checksum
|
3.74 MB |
sha256:9221fb115b1c6d6ef534b34c18cd47c3583d372d3575d583b6d5ceadb2d94d7a
|
|
|
pocketmine-ng-baseline.neon
|
1.23 KB |
sha256:8a646c23f80535e358013847ae4cd6ee2ae72d979937871c11d160933292ef15
|
|