Skip to content

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

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

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

Triggered via pull request September 7, 2025 17:47
Status Failure
Total duration 7m 4s
Artifacts 6

phar.yml

on: pull_request
Download base SHA PHAR
0s
Download base SHA PHAR
integration-tests  /  Check PHAR checksum
4s
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
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-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 - 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-deprecation-rules)
Process completed with exit code 2.
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 - 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.
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:a736412688b157c3de052b9053c675878828d4c15b3e72b14852ee95a7e603d3
baselines-doctrine-orm-baseline.neon
1.72 KB
sha256:48989eafcc41759cffde35fdea2593edca480ce9928c78a4d2a52399f16709e9
baselines-laravel-types-baseline.neon
317 Bytes
sha256:b3883ad5a3ddc701c5957ee86661e3e80fead87e6a2b730917774d0739185d5a
baselines-rector-baseline.neon
506 Bytes
sha256:b7c5f6aeefd02339a5c97cdb4c173ecb2c8a041231a09bc7d58767f8ca358bf6
phar-file
3.65 MB
sha256:11f1732fd360898eadfa46456ca45a62615e9c5109d31055b77efd763dca7de3
phar-file-checksum
3.65 MB
sha256:0e9a126c1952cd7254596e580e68a170f58f363a2e882cb7331408c84b0a1927