Avoid crashing on enum without value #23055
Triggered via pull request
September 19, 2025 07:24
Status
Failure
Total duration
15m 4s
Artifacts
–
static-analysis.yml
on: pull_request
Generate baseline
1m 45s
Generate PHP baseline
1m 49s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
42 errors and 7 notices
PHPStan with result cache (8.5)
Process completed with exit code 2.
|
PHPStan with result cache (8.5)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Fixture/TestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
Generate baseline
Process completed with exit code 2.
|
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.2, ubuntu-latest)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Fixture/TestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
PHPStan with result cache (8.2)
Process completed with exit code 2.
|
PHPStan with result cache (8.2)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Fixture/TestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
Generate PHP baseline
Process completed with exit code 2.
|
PHPStan with result cache (8.4)
Process completed with exit code 2.
|
PHPStan with result cache (8.4)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Fixture/TestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.5, ubuntu-latest)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Fixture/TestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
PHPStan with result cache (8.3)
Process completed with exit code 2.
|
PHPStan with result cache (8.3)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Fixture/TestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.4, ubuntu-latest)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Fixture/TestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.3, ubuntu-latest)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Fixture/TestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.1, ubuntu-latest)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Fixture/AnotherTestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (8.0, ubuntu-latest):
src/Reflection/ClassReflection.php#L994
Call to an undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression().
|
PHPStan (8.0, ubuntu-latest):
src/Reflection/ClassReflection.php#L967
Call to an undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression().
|
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.2, windows-latest)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file D:\a\phpstan-src\phpstan-src\tests\PHPStan\Fixture\TestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.5, windows-latest)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file D:\a\phpstan-src\phpstan-src\tests\PHPStan\Fixture\TestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.4, windows-latest)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file D:\a\phpstan-src\phpstan-src\tests\PHPStan\Fixture\TestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.3, windows-latest)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file D:\a\phpstan-src\phpstan-src\tests\PHPStan\Fixture\TestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.1, windows-latest)
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file D:\a\phpstan-src\phpstan-src\tests\PHPStan\Fixture\TestEnum.php
Run PHPStan with -v option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
|
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
|
PHPStan (8.0, windows-latest):
src/Reflection/ClassReflection.php#L994
Call to an undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression().
|
PHPStan (8.0, windows-latest):
src/Reflection/ClassReflection.php#L967
Call to an undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression().
|
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (7.4, ubuntu-latest):
src/Reflection/ClassReflection.php#L1052
Call to an undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression().
|
PHPStan (7.4, ubuntu-latest):
src/Reflection/ClassReflection.php#L1025
Call to an undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression().
|
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
|
PHPStan (7.4, windows-latest):
src/Reflection/ClassReflection.php#L1052
Call to an undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression().
|
PHPStan (7.4, windows-latest):
src/Reflection/ClassReflection.php#L1025
Call to an undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression().
|
PHPStan (8.2, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
PHPStan (8.5, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
PHPStan (8.4, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
PHPStan (8.3, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
PHPStan (8.1, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
PHPStan (8.0, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
PHPStan (7.4, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|