Skip to content

Fix #12250: False positive Property HelloWorld::$bug (WeakMap<stdClass, stdClass>) does not accept WeakMap<object, mixed>|WeakMap<stdClass, stdClass>. #25644

Fix #12250: False positive Property HelloWorld::$bug (WeakMap<stdClass, stdClass>) does not accept WeakMap<object, mixed>|WeakMap<stdClass, stdClass>.

Fix #12250: False positive Property HelloWorld::$bug (WeakMap<stdClass, stdClass>) does not accept WeakMap<object, mixed>|WeakMap<stdClass, stdClass>. #25644

Triggered via pull request February 16, 2026 20:43
Status Success
Total duration 48s
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