Skip to content

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

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

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

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

phar.yml

on: pull_request
Download base SHA PHAR
0s
Download base SHA PHAR
integration-tests  /  Check PHAR checksum
6s
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
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)!
extension-tests / Extension Tests (8.5, phpstan-webmozart-assert)
Process completed with exit code 2.
extension-tests / Extension Tests (8.5, phpstan-beberlei-assert)
Process completed with exit code 2.
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-phpunit)
Process completed with exit code 2.
extension-tests / Extension Tests (8.5, phpstan-symfony)
Process completed with exit code 2.
extension-tests / Extension Tests (8.5, phpstan-deprecation-rules)
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.
integration-tests / Integration - Larastan tests PHP 8.3, ^11.15
Process completed with exit code 1.
extension-tests / Extension Tests (8.5, phpstan-nette)
Process completed with exit code 2.
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:6cb74dfdad54d0e94f7de91f0f85d2c7afc1819d34a10eb539551a807ba929e6
baselines-doctrine-orm-baseline.neon
1.72 KB
sha256:9e0585300007ef171ddcaa37ac0d541212c3ddea6b4688263afa2c07800de5c2
baselines-laravel-types-baseline.neon
317 Bytes
sha256:604bb4d0c6a0b9278ad150b48e8a347adec134491d09494358722c92880cf62f
baselines-rector-baseline.neon
506 Bytes
sha256:154ac7a086f9b283e731e66eeb3008768fd0a78b3b7e505186aeff10f93c4180
phar-file
3.65 MB
sha256:f4102122eed7bddd8243cc6b2aa6578a2f05552ae78d3ff20ed35c2daf91866b
phar-file-checksum
3.65 MB
sha256:62378864a265c4661134909cc1469adf8ab647117f9bb550d232988e2ccf1a57