Skip to content

False positive "non-empty-array<int, int> might not be a list" when change existing list key #22825

False positive "non-empty-array<int, int> might not be a list" when change existing list key

False positive "non-empty-array<int, int> might not be a list" when change existing list key #22825

Triggered via pull request September 22, 2025 08:19
Status Failure
Total duration 44s
Artifacts

e2e-tests.yml

on: pull_request
Matrix: E2E tests
Matrix: Result cache E2E tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors
E2E tests (cd e2e/composer-and-phpstan-version-config composer install --ignore-platform-reqs ../...
The process '/usr/bin/bash' failed with exit code 1
Result cache E2E tests (cd e2e/bug-11826 composer install OUTPUT=$(../bashunit -a exit_code "1" "...
Child process error (exit code 255): PHP Fatal error: A class constant must not be called 'class'; it is reserved for class name fetching in /home/runner/work/phpstan-src/phpstan-src/e2e/bug-11826/src/FatalErrorWhenAutoloaded.php on line 9 Fatal error: A class constant must not be called 'class'; it is reserved for class name fetching in /home/runner/work/phpstan-src/phpstan-src/e2e/bug-11826/src/FatalErrorWhenAutoloaded.php on line 9 while running parallel worker