Skip to content

Avoid crashing on enum without value #21891

Avoid crashing on enum without value

Avoid crashing on enum without value #21891

Triggered via pull request September 19, 2025 07:24
Status Failure
Total duration 7m 8s
Artifacts 10

phar.yml

on: pull_request
Download base SHA PHAR
0s
Download base SHA PHAR
integration-tests  /  Check PHAR checksum
5s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
5s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
7s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Checksum PHAR
0s
Checksum PHAR
PHAR Prefix Diff
0s
PHAR Prefix Diff
Matrix: integration-tests / integration-run-phpstan
Matrix: integration-tests / integration-tests
Matrix: extension-tests / Extension Tests
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
0s
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

38 errors and 1 notice
extension-tests / Extension Tests (8.5, phpstan-mockery)
Process completed with exit code 2.
other-tests / Other Tests (8.1, ubuntu-latest, cd e2e/undiscoverable-symbols-2 composer install ../../phpstan a...
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/undiscoverable-symbols-2/tests/EnumValidatorTest.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
integration-tests / Integration - Larastan tests PHP 8.3, ^11.15
Process completed with exit code 255.
integration-tests / Integration - doctrine/collections
Process completed with exit code 1.
integration-tests / Integration - doctrine/collections
Process completed with exit code 1.
integration-tests / Integration - doctrine/collections
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/ArrayCollection.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
integration-tests / Integration - bladestan/bladestan
Process completed with exit code 1.
integration-tests / Integration - bladestan/bladestan: src/TemplateCompiler/PHPStan/FileAnalyserProvider.php#L59
Method Bladestan\TemplateCompiler\PHPStan\FileAnalyserProvider::provide() throws checked exception PHPStan\DependencyInjection\MissingServiceException but it's missing from the PHPDoc `@throws` tag.
integration-tests / Integration - bladestan/bladestan: src/NodeAnalyzer/ViewVariableAnalyzer.php#L50
Method Bladestan\NodeAnalyzer\ViewVariableAnalyzer::resolve() throws checked exception ValueError but it's missing from the PHPDoc `@throws` tag.
integration-tests / Integration - bladestan/bladestan: src/Compiler/LivewireTagCompiler.php#L116
Dead catch - RuntimeException is never thrown in the try block.
integration-tests / Integration - shipmonk/phpstan-rules tests
Process completed with exit code 2.
integration-tests / Integration - shipmonk/dead-code-detector tests
Process completed with exit code 2.
integration-tests / Integration - larastan/larastan
Process completed with exit code 1.
integration-tests / Integration - larastan/larastan
Process completed with exit code 1.
integration-tests / Integration - larastan/larastan
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/ReturnTypes/DateExtension.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
integration-tests / Integration - Rector tests
Process completed with exit code 2.
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
integration-tests / Integration - laravel/framework
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/types/Database/Eloquent/Model.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
integration-tests / Integration - doctrine/dbal
Process completed with exit code 1.
integration-tests / Integration - doctrine/dbal
Process completed with exit code 1.
integration-tests / Integration - doctrine/dbal
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Platforms/AbstractMySQLPlatform.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
extension-tests / Extension Tests (8.3, phpstan-strict-rules)
Process completed with exit code 2.
extension-tests / Extension Tests (8.1, phpstan-strict-rules)
Process completed with exit code 2.
extension-tests / Extension Tests (8.2, phpstan-strict-rules)
Process completed with exit code 2.
extension-tests / Extension Tests (8.4, phpstan-strict-rules)
Process completed with exit code 2.
extension-tests / Extension Tests (8.5, phpstan-strict-rules)
Process completed with exit code 2.
integration-tests / Integration - doctrine/orm
Process completed with exit code 1.
integration-tests / Integration - doctrine/orm
Process completed with exit code 1.
integration-tests / Integration - doctrine/orm
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Persisters/Entity/BasicEntityPersister.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
integration-tests / Integration - sebastianbergmann/phpunit
Process completed with exit code 1.
integration-tests / Integration - sebastianbergmann/phpunit
Process completed with exit code 1.
integration-tests / Integration - sebastianbergmann/phpunit
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Framework/Constraint/Type/IsType.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
integration-tests / Integration - laravel/framework
Process completed with exit code 1.
integration-tests / Integration - laravel/framework
Internal error: Call to undefined method PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnumBackedCase::hasValueExpression() while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Illuminate/Foundation/Console/VendorPublishCommand.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
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

Artifacts

Produced during runtime
Name Size Digest
baselines-bladestan-baseline.neon
572 Bytes
sha256:7c0daf09049c31ed7322779c6f09359b1b6c8ce3463da349da26d570ff8f837d
baselines-doctrine-collections-baseline.neon
362 Bytes
sha256:0cf212a780b7dc7a6e2f5e20e5931377e6c76e24bf6ddd42dbbb985423d4e5a6
baselines-doctrine-dbal-baseline.neon
604 Bytes
sha256:08f9a965467c4d1aa98c34f31c813f2833bd94d23bb93cb239998f9b4d5ee636
baselines-doctrine-orm-baseline.neon
1.83 KB
sha256:f35e929a57dbd64b3943ba25753b583f3dd4cae9cc1fb57fbb31feeb858626a1
baselines-larastan-baseline.neon
822 Bytes
sha256:a9415df529100bf23406a911f0cbfb41b4e0047980fcf189ec87e2d71dd2096e
baselines-laravel-baseline.neon
158 Bytes
sha256:0944e90cdb83505b8ba1da8ff9f12759d5cf2cc11620241a7937762dc203894f
baselines-laravel-types-baseline.neon
317 Bytes
sha256:2f5662f34d45d2d62cbc7ed231f6568e05adfbe09ced3b46452b148041a17189
baselines-phpunit-baseline.neon
674 Bytes
sha256:b200276e53f5dda38addb5d05bc9f039425b3ec1a495b76f4d1566ddb765c4b3
phar-file
3.67 MB
sha256:721449278ad03165cb13fd4b30b2353483461135dde9bd943d10ee053b989d6d
phar-file-checksum
3.67 MB
sha256:b78acc99d902e41c577f6ecce2ba0261d5d7a125ee19a4108d9bb2ac30ae1eb6