Skip to content

Fix missing detection of dead code in arrow functions #20993

Fix missing detection of dead code in arrow functions

Fix missing detection of dead code in arrow functions #20993

Triggered via pull request August 4, 2025 15:13
@staabmstaabm
synchronize #4147
staabm:arrow
Status Failure
Total duration 8m 12s
Artifacts 7

phar.yml

on: pull_request
Download base SHA PHAR
0s
Download base SHA PHAR
integration-tests  /  Check PHAR checksum
5s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
5s
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

17 errors and 1 notice
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 - 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 - 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 - 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 - 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 - Rector tests
Process completed with exit code 2.
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
baselines-
8.86 MB
sha256:d0bd9e5926e31204df1db26d27d9adc7e9e014344c1d5af2abd1c95bb158cbd1
baselines-bladestan-baseline.neon
403 Bytes
sha256:335ebb7acd08c8ee3fc421b88f3f64ec4a5de69d87f29496a74c1290c8c47a9b
baselines-doctrine-orm-baseline.neon
1.6 KB
sha256:c8b87cf8f2a002ece77234e1615ae968df555e05baa5fa49329cf29e9e3f5157
baselines-laravel-types-baseline.neon
317 Bytes
sha256:b7a538dccb91d032cd102946d9d8889a57d1ade4570858faff7622fb9fa46e6d
baselines-rector-baseline.neon
506 Bytes
sha256:07ec472a1e719e8af86243660f408cb117d9970bd1eda013146663830e759cb4
phar-file
3.64 MB
sha256:0af72db353f171b4bd28b18ae1f0fd1d1a8651cb01ea2f7767898a8dadb66a16
phar-file-checksum
3.64 MB
sha256:71822889570bc6d8399c7006aadefae416eef9fb093b8dce1ada90703225b37e