Skip to content

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

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

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

Triggered via pull request September 8, 2025 09:35
Status Failure
Total duration 7m 12s
Artifacts 6

phar.yml

on: pull_request
Download base SHA PHAR
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
7s
other-tests / Check PHAR checksum
Commit PHAR
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.
extension-tests / Extension Tests (8.5, phpstan-beberlei-assert)
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-phpunit)
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-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:5fd706a3361c9ea3ca90ef2368f9f6c119307d1339d9dfe21fd2b0d9b85fbfa7
baselines-doctrine-orm-baseline.neon
1.77 KB
sha256:72d81b06c4017d6b3b55480b901fc952aa9474aca2547a058c9f5e195b79966b
baselines-laravel-types-baseline.neon
317 Bytes
sha256:10d96cdc437e1a9465499a856238f53e59a9f242d4a9e8de450491215ab28c3c
baselines-rector-baseline.neon
506 Bytes
sha256:3795826cdef3be057b72f7595d0ddd2f35f5b71576fc075e85cd4cac0d240745
phar-file
3.65 MB
sha256:270b492ca32d155e5221d347c4c093e54a6802e5cde93b5020f587c28f344604
phar-file-checksum
3.65 MB
sha256:c947edd00ec605c58ce192d9938ad726a234cddfb7e6e9f94dd640afc7050d6b