Skip to content

Fix missing detection of dead code in closures #20961

Fix missing detection of dead code in closures

Fix missing detection of dead code in closures #20961

Triggered via pull request August 1, 2025 11:56
Status Failure
Total duration 6m 51s
Artifacts 7

phar.yml

on: pull_request
Download base SHA PHAR
0s
Download base SHA PHAR
integration-tests  /  Check PHAR checksum
4s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
4s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
4s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Checksum PHAR
0s
Checksum PHAR
PHAR Prefix Diff
0s
PHAR Prefix Diff
Matrix: integration-tests / integration-run-phpstan
Matrix: integration-tests / integration-tests
Matrix: extension-tests / Extension Tests
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
0s
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

16 errors
integration-tests / Integration - shipmonk/phpstan-rules tests
Process completed with exit code 1.
integration-tests / Integration - bladestan/bladestan
Process completed with exit code 1.
integration-tests / Integration - bladestan/bladestan: src/TemplateCompiler/PHPStan/FileAnalyserProvider.php#L37
Method Bladestan\TemplateCompiler\PHPStan\FileAnalyserProvider::provide() throws checked exception PHPStan\DependencyInjection\MissingServiceException but it's missing from the PHPDoc @throws tag.
integration-tests / Integration - shipmonk-rnd/phpstan-rules
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/phpstan-rules
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/phpstan-rules: tests/Rule/EnforceReadonlyPublicPropertyRuleTest.php#L37
No error with identifier phpstanApi.constructor is reported on line 37.
integration-tests / Integration - shipmonk-rnd/phpstan-rules: tests/Rule/EnforceNativeReturnTypehintRuleTest.php#L66
No error with identifier phpstanApi.constructor is reported on line 66.
integration-tests / Integration - shipmonk-rnd/phpstan-rules: tests/Rule/EnforceClosureParamNativeTypehintRuleTest.php#L61
No error with identifier phpstanApi.constructor is reported on line 61.
integration-tests / Integration - rectorphp/rector-src
Process completed with exit code 1.
integration-tests / Integration - rectorphp/rector-src
Process completed with exit code 1.
integration-tests / Integration - Rector tests
Process completed with exit code 2.
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
integration-tests / Integration - laravel/framework: types/Support/Helpers.php#L66
Unreachable statement - code above always terminates.
integration-tests / Integration - laravel/framework: types/Support/Helpers.php#L47
Unreachable statement - code above always terminates.
integration-tests / Integration - doctrine/orm
Process completed with exit code 1.
integration-tests / Integration - doctrine/orm: src/Internal/Hydration/AbstractHydrator.php#L358
Method Doctrine\ORM\Internal\Hydration\AbstractHydrator::gatherRowData() should return array{data: array<array>, newObjects?: array<array{class: ReflectionClass, args: array, obj: object}>, scalars?: array} but returns array{data: array<non-empty-array>, newObjects: array<array{class: mixed, args: non-empty-array, obj?: mixed}>, scalars?: non-empty-array}.

Artifacts

Produced during runtime
Name Size Digest
baselines-
8.86 MB
sha256:b09558abed34d4dc6b364912e445442c43e7e14a5d204bd6c50f30a65167b039
baselines-bladestan-baseline.neon
403 Bytes
sha256:200bcfe7044d3c9e0a193da462aca98d7cbd7026caa6ecd18a005ac102b4209d
baselines-doctrine-orm-baseline.neon
1.55 KB
sha256:91ebf966a2366e728f70db03e0a066cf8c9c9bc60d4e062cb19758af6f681fa6
baselines-laravel-types-baseline.neon
317 Bytes
sha256:75765e9fa942f0b2071e44e0e45cd2715a8d3d6a2c83f81c0526d3c3049d2f85
baselines-rector-baseline.neon
506 Bytes
sha256:725574d46e5996acedbe5bac0d80823e9accf43affe1c4a8d11a8211046fd1e0
phar-file
3.64 MB
sha256:889c8a2e926ed40ef48fdc2b01d783c468a2e97b49beed38d4c77993ee5efeca
phar-file-checksum
3.64 MB
sha256:67bb9226362a8515a82f3be090a9f85229a2cebcf63b9243dc5f2744d6d2040c