Skip to content

ci: add failing test for bug-12585 #19696

ci: add failing test for bug-12585

ci: add failing test for bug-12585 #19696

Triggered via pull request February 16, 2025 03:51
Status Failure
Total duration 1m 37s
Artifacts

e2e-tests.yml

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

Annotations

6 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
Result cache E2E tests (cd e2e/bug-12585 composer install ../../bin/phpstan ): src/test.php#L142
Anonymous function should return Bug12585\Builder<Bug12585\Model> but returns Bug12585\PostBuilder.
Result cache E2E tests (cd e2e/bug-12585 composer install ../../bin/phpstan ): src/test.php#L143
Parameter #2 $callback of method Bug12585\Builder<Bug12585\User>::whereHas() expects (Closure(Bug12585\Builder<Bug12585\Post>): mixed)|null, Closure(Bug12585\PostBuilder): Bug12585\PostBuilder given.
Result cache E2E tests (cd e2e/bug-12585 composer install ../../bin/phpstan ): src/test.php#L145
Anonymous function should return Bug12585\Builder<Bug12585\Model> but returns Bug12585\Builder<Bug12585\User>.
Result cache E2E tests (cd e2e/bug-12585 composer install ../../bin/phpstan ): src/test.php#L150
Parameter #2 $callback of method Bug12585\Builder<Bug12585\Post>::withWhereHas() expects (Closure(Bug12585\Builder<*>|Bug12585\Relation<*, *>): mixed)|null, Closure(Bug12585\BelongsTo|Bug12585\Builder): (Bug12585\BelongsTo|Bug12585\Builder<*>) given.
Result cache E2E tests (cd e2e/bug-12585 composer install ../../bin/phpstan )
Process completed with exit code 1.