Skip to content

Fix phpstan/phpstan#12244: $this(Type~Subtracted) does not work on conditional return type as Type~Subtracted #26230

Fix phpstan/phpstan#12244: $this(Type~Subtracted) does not work on conditional return type as Type~Subtracted

Fix phpstan/phpstan#12244: $this(Type~Subtracted) does not work on conditional return type as Type~Subtracted #26230

Triggered via pull request February 28, 2026 15:57
Status Success
Total duration 58s
Artifacts

e2e-tests.yml

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

Annotations

13 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