Skip to content

Improved fix "Named arguments are supported only on PHP 8.0 and later" false positive" #21039

Improved fix "Named arguments are supported only on PHP 8.0 and later" false positive"

Improved fix "Named arguments are supported only on PHP 8.0 and later" false positive" #21039

Triggered via pull request May 28, 2025 09:43
Status Failure
Total duration 32s
Artifacts

e2e-tests.yml

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

Annotations

16 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 tests/e2e/anon-class/Granularity.php)
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/soap.php -c tests/e2e/data/empty.neon tests...
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/composer-min-max-version composer install ../../bin/phpstan analyze test.php --...
The strategy configuration was canceled because "e2e-tests.cd_e2e_composer-version-n" failed
E2E tests (bin/phpstan analyse e2e/only-files-not-analysed-trait/src/Foo.php e2e/only-files-not-a...
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
E2E tests (bin/phpstan analyse -l 8 -a tests/e2e/data/soap.php -c tests/e2e/data/empty.neon tests...
The strategy configuration was canceled because "e2e-tests.cd_e2e_composer-version-n" failed