Skip to content

Add support for PHP 8.5 #[\NoDiscard] #22167

Add support for PHP 8.5 #[\NoDiscard]

Add support for PHP 8.5 #[\NoDiscard] #22167

Triggered via pull request August 28, 2025 20:18
Status Failure
Total duration 44s
Artifacts

e2e-tests.yml

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

Annotations

7 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 (bin/phpstan analyse -l 8 -a tests/e2e/data/soap.php -c tests/e2e/data/empty.neon tests...
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\WrappedExtendedMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/WrappedExtendedMethodReflection.php on line 12 Fatal error: Class PHPStan\Reflection\WrappedExtendedMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/WrappedExtendedMethodReflection.php on line 12 while running parallel worker
E2E tests (bin/phpstan analyse -l 8 -a tests/e2e/data/soap.php -c tests/e2e/data/empty.neon tests...
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\WrappedExtendedMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/WrappedExtendedMethodReflection.php on line 12 Fatal error: Class PHPStan\Reflection\WrappedExtendedMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/WrappedExtendedMethodReflection.php on line 12 while running parallel worker
Result cache E2E tests (cd e2e/result-cache-1 echo -n > phpstan-baseline.neon ../../bin/phpstan -...
Child process error (exit code 255): PHP Fatal error: Class PHPStan\Reflection\WrappedExtendedMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/WrappedExtendedMethodReflection.php on line 12 Fatal error: Class PHPStan\Reflection\WrappedExtendedMethodReflection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PHPStan\Reflection\ExtendedMethodReflection::hasNoDiscardAttribute) in /home/runner/work/phpstan-src/phpstan-src/src/Reflection/WrappedExtendedMethodReflection.php on line 12 while running parallel worker