Skip to content

Fix incorrect analyzing of array_shift with non-empty-list property #21577

Fix incorrect analyzing of array_shift with non-empty-list property

Fix incorrect analyzing of array_shift with non-empty-list property #21577

Triggered via pull request September 8, 2025 08:46
Status Failure
Total duration 7m 24s
Artifacts 6

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
4s
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

22 errors and 1 notice
extension-tests / Extension Tests (8.5, phpstan-beberlei-assert)
Process completed with exit code 2.
extension-tests / Extension Tests (8.5, phpstan-phpunit)
Process completed with exit code 2.
extension-tests / Extension Tests (8.5, phpstan-deprecation-rules)
Process completed with exit code 2.
extension-tests / Extension Tests (8.5, phpstan-symfony)
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 - rectorphp/rector-src
Cannot apply patch 0 (https://raw.githubusercontent.com/rectorphp/vendor-patches/main/patches/symfony-console-helper-helper-php.patch)!
integration-tests / Integration - Rector tests
Process completed with exit code 1.
integration-tests / Integration - Rector tests
Cannot apply patch 0 (https://raw.githubusercontent.com/rectorphp/vendor-patches/main/patches/symfony-console-helper-helper-php.patch)!
extension-tests / Extension Tests (8.5, phpstan-webmozart-assert)
Process completed with exit code 2.
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 - 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/Query/Filter/SQLFilter.php#L81
Property Doctrine\ORM\Query\Filter\SQLFilter::$parameters (array<string, array{type: string, value: mixed, is_list: bool}>) does not accept non-empty-array<string, array{value: mixed, type: Doctrine\DBAL\ArrayParameterType|Doctrine\DBAL\ParameterType|int|string, is_list: bool}>.
integration-tests / Integration - doctrine/orm: src/Query/Filter/SQLFilter.php#L78
Ignored error pattern #^Property Doctrine\\ORM\\Query\\Filter\\SQLFilter\:\:\$parameters \(array\<string, array\{type\: string, value\: mixed, is_list\: bool\}\>\) does not accept non\-empty\-array\<string, array\{value\: mixed, type\: Doctrine\\DBAL\\ArrayParameterType\|Doctrine\\DBAL\\ParameterType\|int\|string, is_list\: bool\}\>\.$# (assign.propertyType) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Query/Filter/SQLFilter.php is expected to occur 1 time, but occurred 2 times.
extension-tests / Extension Tests (8.5, phpstan-nette)
Process completed with exit code 2.
integration-tests / Integration - Larastan tests PHP 8.3, ^11.15
Process completed with exit code 1.
extension-tests / Extension Tests (8.5, phpstan-strict-rules)
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-bladestan-baseline.neon
463 Bytes
sha256:cb33766d658fffb5d8394726da4e84f221f90b7236359a06164cf9dfe5427cdf
baselines-doctrine-orm-baseline.neon
1.72 KB
sha256:756c0f7833d25eb228fd4a5934029e310c3091f06e50d4a1b27fb4167be0f295
baselines-laravel-types-baseline.neon
317 Bytes
sha256:97e99bec06d38f6f5c309ecf4458b15a281189824c8be6b20bd3c082cb2630d5
baselines-rector-baseline.neon
506 Bytes
sha256:cd7253e6b69287503288925a79e6a771b3d2b95b44be082db9240b584f0152d1
phar-file
3.65 MB
sha256:d85966c025e7722c0f06a81954cee1ecc37361a8be8eda1b97c4446502f2207d
phar-file-checksum
3.65 MB
sha256:85160e9aa84faa643f274bfea2fa7f42cc1ce9d5d3efd2ecafa44fbddf2d9ee7