Skip to content

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

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

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

Triggered via pull request September 8, 2025 09:50
Status Failure
Total duration 7m 17s
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
5s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
6s
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-webmozart-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-deprecation-rules)
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)!
extension-tests / Extension Tests (8.5, phpstan-phpunit)
Process completed with exit code 2.
extension-tests / Extension Tests (8.5, phpstan-beberlei-assert)
Process completed with exit code 2.
extension-tests / Extension Tests (8.5, phpstan-symfony)
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.
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.
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-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:08ceab5e8e219226e357087d15bd4cf2f0d80e2ffedb4b4a315e889ef04b455c
baselines-doctrine-orm-baseline.neon
1.77 KB
sha256:3714f3802b25652b8ae6322d803a533d489d2c50fca9fa249a8d754ce0965f96
baselines-laravel-types-baseline.neon
317 Bytes
sha256:24e06e6f8ddb7e525ad1be89c0e5721cf9706d430900025c84c6c20da1b21b69
baselines-rector-baseline.neon
506 Bytes
sha256:cfe8f4c73c4405d8f2a52ab7a897e2fb209e9933515894873939bce08d931246
phar-file
3.65 MB
sha256:0c43ab31fd9f852daefda80d11412e55728d211c22eba332927e4744cdfee277
phar-file-checksum
3.65 MB
sha256:fe274a24447e0894b55048d3963923073713469932e0522d5b94ca747e7a3ef1