Skip to content

Fix missing detection of dead code in closures #20962

Fix missing detection of dead code in closures

Fix missing detection of dead code in closures #20962

Triggered via pull request August 1, 2025 12:23
Status Failure
Total duration 7m 0s
Artifacts 7

phar.yml

on: pull_request
Download base SHA PHAR
0s
Download base SHA PHAR
integration-tests  /  Check PHAR checksum
7s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
6s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
5s
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-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 - 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 - Rector tests
Process completed with exit code 2.
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 - 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}.
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.

Artifacts

Produced during runtime
Name Size Digest
baselines-
8.86 MB
sha256:7adb8ecc3d186f16eafd3e9836ce6c9414382d3d9730875bb1e05cafa3552a5b
baselines-bladestan-baseline.neon
403 Bytes
sha256:5a69f2b861a465104deab07f35ae936772de9fa9b007564d0f041fc1135d694c
baselines-doctrine-orm-baseline.neon
1.55 KB
sha256:57a3fc84c777ff19e0a5cd0234c7daf406388101c81fa0c702a68060f230e2b5
baselines-laravel-types-baseline.neon
317 Bytes
sha256:8a479ff65ae07492caf20d10365f6eec743ac3966b187f0830ff70b38d1b7978
baselines-rector-baseline.neon
506 Bytes
sha256:dc5e55ac5fc6531dd2a50d38957e4d59c08f50f969f47ce4607d95d0be126990
phar-file
3.64 MB
sha256:3dece87f11d95c566671a2ef5173e3aea81398530322671872567d29ba61b082
phar-file-checksum
3.64 MB
sha256:720370557643645d45e75e136a47d4cf12698c15be9de8a691cd9b83e2a21631