Skip to content

Fix "Named arguments are supported only on PHP 8.0 and later." false positive #21027

Fix "Named arguments are supported only on PHP 8.0 and later." false positive

Fix "Named arguments are supported only on PHP 8.0 and later." false positive #21027

Triggered via pull request May 28, 2025 07:34
Status Failure
Total duration 27s
Artifacts

e2e-tests.yml

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

Annotations

9 errors
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
E2E tests (cd e2e/composer-version-named-args ../../bin/phpstan analyze test.php --level=0 ): test.php#L31
Named arguments are supported only on PHP 8.0 and later.
E2E tests (cd e2e/composer-version-named-args ../../bin/phpstan analyze test.php --level=0 ): test.php#L19
Named arguments are supported only on PHP 8.0 and later.
E2E tests (bin/phpstan analyse -l 8 e2e/phpstan-phpunit-190/test.php -c e2e/phpstan-phpunit-190/t...
The strategy configuration was canceled because "e2e-tests.cd_e2e_composer-version-n" failed
E2E tests (bin/phpstan analyse -l 8 -a tests/e2e/data/timecop.php -c tests/e2e/data/empty.neon te...
The strategy configuration was canceled because "e2e-tests.cd_e2e_composer-version-n" failed
E2E tests (cd e2e/discussion-11362 composer install ../../bin/phpstan )
The strategy configuration was canceled because "e2e-tests.cd_e2e_composer-version-n" failed