Skip to content

Fix incorrect type inference for @phpstan-assert-if-true on $this with union types #22121

Fix incorrect type inference for @phpstan-assert-if-true on $this with union types

Fix incorrect type inference for @phpstan-assert-if-true on $this with union types #22121

Triggered via pull request August 21, 2025 15:53
Status Failure
Total duration 15m 13s
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/discussion-11362 composer install ../../bin/phpstan )
The job was not acquired by Runner of type hosted even after multiple attempts
Result cache E2E tests (cd e2e/result-cache-8 composer install ../../bin/phpstan echo -en '\n' >>...
The job was not acquired by Runner of type hosted even after multiple attempts
Result cache E2E tests (cd e2e/result-cache-6 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
The job was not acquired by Runner of type hosted even after multiple attempts
Result cache E2E tests (cd e2e/result-cache-7 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
The job was not acquired by Runner of type hosted even after multiple attempts
Result cache E2E tests (cd e2e/bad-exclude-paths OUTPUT=$(../bashunit -a exit_code "1" "../../bin...
The job was not acquired by Runner of type hosted even after multiple attempts
Result cache E2E tests (cd e2e/bug-9622-trait echo -n > phpstan-baseline.neon ../../bin/phpstan -...
The job was not acquired by Runner of type hosted even after multiple attempts
Result cache E2E tests (cd e2e/bad-exclude-paths OUTPUT=$(../bashunit -a exit_code "1" "../../bin...
The job was not acquired by Runner of type hosted even after multiple attempts
E2E Tests
Internal server error. Correlation ID: 62189781-8a0c-4b95-9673-19236f4c0f27