Skip to content

Upgrade Dead Code Detector to 0.15 #25710

Upgrade Dead Code Detector to 0.15

Upgrade Dead Code Detector to 0.15 #25710

Triggered via pull request March 5, 2026 12:17
Status Failure
Total duration 9m 41s
Artifacts 11

phar.yml

on: pull_request
Compiler Tests
2m 2s
Compiler Tests
integration-tests  /  Check PHAR checksum
14s
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
14s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests  /  PMMP Tests
1m 10s
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
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

52 errors and 28 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 - 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 - 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/Compiler/Latte3Compiler.php#L35
Call to function is_array() with list<Latte\Extension> will always evaluate to true.
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/View/Compilers/ComponentTagCompiler.php#L345
No error with identifier variable.undefined is reported on line 345.
integration-tests / Integration - laravel/framework: src/Illuminate/View/Compilers/ComponentTagCompiler.php#L344
No error with identifier variable.undefined is reported on line 344.
integration-tests / Integration - laravel/framework: src/Illuminate/View/Compilers/ComponentTagCompiler.php#L343
No error with identifier variable.undefined is reported on line 343.
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/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/DataAbstractionLayer/Search/Criteria.php#L499
Parameter #1 $ids of class Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria constructor expects array<string>|null, array<array<string>|string> given.
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 (ubuntu-latest, 8.0, cd e2e/react-promise composer install ../../phpstan analyse -l 8...
Failed to download action 'https://api.github.com/repos/ramsey/composer-install/tarball/3cf229dc2919194e9e36783941438d17239e8520'. Error: Response status code does not indicate success: 502 (Bad Gateway). F01A:3C4D68:A99C:AE83:69A97501
other-tests / Other Tests (ubuntu-latest, 8.0, cd e2e/attributes ../../phpstan analyse -l 8 test.php )
Failed to download action 'https://api.github.com/repos/Wandalen/wretry.action/tarball/e68c23e6309f2871ca8ae4763e7629b9c258e1ea'. Error: Response status code does not indicate success: 502 (Bad Gateway). 93C3:8EC6:1F34E60:8741103:69A97500
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e/autoload-better-reflection php test.php )
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). 3800:2948C9:97B2:9C9F:69A97500
other-tests / Other Tests (8.1, ubuntu-latest, cd e2e/google_service composer install ../../phpstan , memory_li...
Failed to download action 'https://api.github.com/repos/shivammathur/setup-php/tarball/44454db4f0199b8b9685a5d763dc37cbf79108e1'. Error: Response status code does not indicate success: 502 (Bad Gateway). 6C31:3EE83E:2034C1D:8B04466:69A97500
other-tests / Other Tests (8.2, ubuntu-latest, cd e2e/phpunit-10-test composer install cp ../../phpstan vendor/...
Failed to download action 'https://api.github.com/repos/shivammathur/setup-php/tarball/44454db4f0199b8b9685a5d763dc37cbf79108e1'. Error: Response status code does not indicate success: 502 (Bad Gateway). 5059:602FA:1FC884E:89847D7:69A97501
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e/bug6933 composer install ../../phpstan analyse -l 8 Module )
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). 4040:298541:99BB:9E69:69A97500
extension-tests / phpdoc-parser (8.2) make tests
Back off 17.326 seconds before retry.
extension-tests / phpdoc-parser (8.2) make tests
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). 9C00:2672:210214E:8E926DD:69A97502
extension-tests / phpstan-webmozart-assert (8.1) make phpstan
Back off 20.912 seconds before retry.
extension-tests / phpstan-webmozart-assert (8.1) make phpstan
Failed to download action 'https://api.github.com/repos/ramsey/composer-install/tarball/3cf229dc2919194e9e36783941438d17239e8520'. Error: Response status code does not indicate success: 502 (Bad Gateway). 2412:93E8C:B172:B677:69A97502
extension-tests / phpstan-phpunit (8.1) make tests
Back off 25.247 seconds before retry.
extension-tests / phpstan-phpunit (8.1) make tests
Failed to download action 'https://api.github.com/repos/ramsey/composer-install/tarball/3cf229dc2919194e9e36783941438d17239e8520'. Error: Response status code does not indicate success: 502 (Bad Gateway). 983A:2AAC74:208A265:8CF1CAF:69A97501
extension-tests / phpstan-doctrine (8.0) make phpstan
Back off 11.117 seconds before retry.
extension-tests / phpstan-doctrine (8.0) 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). E400:326FB1:22AC4A1:97F4CD5:69A97502
extension-tests / phpstan-deprecation-rules (7.4) make tests
Back off 28.952 seconds before retry.
extension-tests / phpstan-deprecation-rules (7.4) make tests
Failed to download action 'https://api.github.com/repos/ramsey/composer-install/tarball/3cf229dc2919194e9e36783941438d17239e8520'. Error: Response status code does not indicate success: 502 (Bad Gateway). 4C12:141263:1F5355B:872CEDE:69A97502
extension-tests / phpstan-dibi (8.3) make phpstan
Back off 28.252 seconds before retry.
extension-tests / phpstan-dibi (8.3) 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). F440:29606C:1FAB8F1:88E1708:69A97502
other-tests / Other Tests (ubuntu-latest, 7.4, cd e2e/rector-autoload composer install ../../phpstan )
Failed to download action 'https://api.github.com/repos/shivammathur/setup-php/tarball/44454db4f0199b8b9685a5d763dc37cbf79108e1'. Error: Response status code does not indicate success: 502 (Bad Gateway). 7C01:1B006E:A15D:A617:69A97501
extension-tests / phpstan-dibi (7.4) make phpstan
Back off 26.826 seconds before retry.
extension-tests / phpstan-dibi (7.4) make phpstan
Failed to download action 'https://api.github.com/repos/ramsey/composer-install/tarball/3cf229dc2919194e9e36783941438d17239e8520'. Error: Response status code does not indicate success: 502 (Bad Gateway). B002:DFC14:B039:B58E:69A97503

Artifacts

Produced during runtime
Name Size Digest
baselines-better-reflection-baseline.neon
363 Bytes
sha256:095434b0fa5e23c3e4c04ce464e0752b47532ad2541f401d7a7abfa8dcae9827
baselines-doctrine-dbal-baseline.neon
1010 Bytes
sha256:c89bb716653b3fcbd5babdbbf51828542cf89c5e03602a8ab3e4f0b40dbc36dc
baselines-doctrine-orm-baseline.neon
1.16 KB
sha256:d4f563e8ed1246618e309525419f1c6378a920f918f5dba2c26437313ef2eba7
baselines-drupal-baseline.neon
1.23 KB
sha256:958ba26e07a0098b2596a52e32c61cf1639fbb6e325a0f17c2f3c64afd660f02
baselines-efabrica-phpstan-latte-baseline.neon
706 Bytes
sha256:dbcc0ffdd37af58a90a58356f60e413ea63c71b29f3af2b9eb7bc9c96c54fd19
baselines-laravel-baseline.neon
384 Bytes
sha256:3a742440a6dc2dd6c2b53a64944c827a4f31d84d52fd1f4f4f4d15ac67f3bbe8
baselines-shipmonk-dead-code-detector-baseline.neon
228 Bytes
sha256:3327c9fec4749f6172a64f0ef748f92159f533a049ea50d878cd950a741018c3
baselines-shopware-baseline.neon
10.5 KB
sha256:a3ba2fcde771b4b0235a22d8a298add05bf2ae3ca508454d280ea63c9972c4e9
phar-file
3.75 MB
sha256:cb1cac7930712592a3c8869254d7a21624457d10a52590a0b45a6888e0f3f23d
phar-file-checksum
3.75 MB
sha256:e9d818ec9222670c24877864c4e906a56579801d7afd2a99244eb0fcbd90aa7f
pocketmine-ng-baseline.neon
1.23 KB
sha256:3cfa218e6845c65f7e73c88665992e6b61dcb208681c10dab7e6e8beadb33c5b