Fix #9592: Call to an undefined static method after method_exists() #25505
phar.yml
on: pull_request
Compiler Tests
2m 7s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests
/
PMMP Tests
1m 16s
Matrix: integration-tests / integration-tests
Checksum PHAR
PHAR Prefix Diff
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests
/
Integration - Update baselines
Annotations
45 errors and 13 warnings
|
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 - 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 / 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 - 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 - 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 / 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.
|
|
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: 34089 , 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: 34089 , 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: 34089 , Maximum supported length: 32766
|
|
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e/autoloader-require
../../phpstan analyse
../../phpstan an...
Back off 12.35 seconds before retry.
|
|
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e/autoloader-require
../../phpstan analyse
../../phpstan an...
Failed to download action 'https://api.github.com/repos/ramsey/composer-install/tarball/3cf229dc2919194e9e36783941438d17239e8520'. Error: Response status code does not indicate success: 500 (Internal Server Error). FC12:184818:6CADA1:1DCC9E2:69A1D173
|
|
extension-tests / phpstan-symfony (8.1) make tests
Back off 10.769 seconds before retry.
|
|
extension-tests / phpstan-symfony (8.1) make tests
Failed to download action 'https://api.github.com/repos/shivammathur/setup-php/tarball/44454db4f0199b8b9685a5d763dc37cbf79108e1'. Error: Response status code does not indicate success: 500 (Internal Server Error). 7C01:244470:6D4868:1DAE70E:69A1D178
|
|
extension-tests / phpstan-deprecation-rules (8.0) make phpstan
Back off 26.387 seconds before retry.
|
|
extension-tests / phpstan-deprecation-rules (8.0) make phpstan
Failed to download action 'https://api.github.com/repos/Wandalen/wretry.action/tarball/71a909ebf09f3ffdc6f42a17bd54ecb43481da49'. Error: Response status code does not indicate success: 502 (Bad Gateway). 2004:244470:6D2B21:1DA6747:69A1D173
|
|
extension-tests / phpstan-webmozart-assert (8.5) make phpstan
Back off 26.345 seconds before retry.
|
|
extension-tests / phpstan-webmozart-assert (8.5) make phpstan
Failed to download action 'https://api.github.com/repos/step-security/harden-runner/tarball/5ef0c079ce82195b2a36a210272d6b661572d83e'. Error: Response status code does not indicate success: 502 (Bad Gateway). 87C0:1C2B4:675A3F:1C3A9DC:69A1D173
|
|
integration-tests / Integration - shopsys/shopsys
Back off 11.664 seconds before retry.
|
|
integration-tests / Integration - shopsys/shopsys
Failed to download action 'https://api.github.com/repos/step-security/harden-runner/tarball/5ef0c079ce82195b2a36a210272d6b661572d83e'. Error: Response status code does not indicate success: 500 (Internal Server Error). 73C0:170B15:7E9917:20F7515:69A1D18F
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
baselines-better-reflection-baseline.neon
|
363 Bytes |
sha256:1f891d30734db701413d4a6add9e05b2a046f30f0c4ba347dbad998b495f18f5
|
|
|
baselines-doctrine-dbal-baseline.neon
|
1010 Bytes |
sha256:f9e6e616f0b3e4fcf85409ed689be8a66c2971cd2869f0a70b8d8cfaca90e7cf
|
|
|
baselines-doctrine-orm-baseline.neon
|
1.16 KB |
sha256:d0fc6d6b07cb1483cecfed1813d9913040a993c2666703fb67215f5b62c388f9
|
|
|
baselines-drupal-baseline.neon
|
1.15 KB |
sha256:2cae34ac8e9a7ce7fa6742ee69ade73523dd41842cc92374cc49fd1507ab3888
|
|
|
baselines-efabrica-phpstan-latte-baseline.neon
|
706 Bytes |
sha256:40522c802f848e06ff2637dd3ba541943808c0d55c900909e91674eecc439119
|
|
|
baselines-laravel-baseline.neon
|
384 Bytes |
sha256:4a24a42f59b2f11631c1165c0b6cc34596199edd8827c4de9db2bbfe0b053cc3
|
|
|
baselines-shipmonk-dead-code-detector-baseline.neon
|
228 Bytes |
sha256:7b50435864b8fd2a3de5b6a75271df38f051dc56a750733ebd2fa88b5c34b2e4
|
|
|
baselines-shopware-baseline.neon
|
10.5 KB |
sha256:8b3c36ce5a18f874bff6e82216c5e389d81bf704c555760e54faff572bbc2bec
|
|
|
phar-file
|
3.74 MB |
sha256:412b874c980b9ceeb134fc1c3ded4f64d821e20819bb4fa10606ef8f844e7935
|
|
|
phar-file-checksum
|
3.74 MB |
sha256:fa069e7d389eea2fa3eb168651be3c79792bb38dbf2eb7e8d9a5167c0d27b770
|
|
|
pocketmine-ng-baseline.neon
|
1.23 KB |
sha256:b200b4ea7e9cb1d660d05fddbf96c3a8340ec7870839c109dac291081e3d7190
|
|