-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Description
Bug report
------ -------------------------------------------------------------------
Line src/Bridge/Doctrine/MongoDbOdm/Filter/BooleanFilter.php
------ -------------------------------------------------------------------
Internal error: Class 'Doctrine\ODM\MongoDB\Types\Type' not found
Run PHPStan with --debug option and post the stack trace to:
https://github.com/phpstan/phpstan/issues/new
------ -------------------------------------------------------------------
PHP Fatal error: Uncaught Error: Class 'Doctrine\ODM\MongoDB\Types\Type' not found in phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Reflection/ClassConstantReflection.php:38
Stack trace:
#0 phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Reflection/ClassConstantReflection.php(38): ReflectionClassConstant->getValue()
#1 phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Reflection/ClassConstantReflection.php(42): PHPStan\Reflection\ClassConstantReflection->getValue()
#2 phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Analyser/MutatingScope.php(1028): PHPStan\Reflection\ClassConstantReflection->getValueType()
#3 phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Analyser/MutatingScope.php(298): PHPStan\Analyser\MutatingScope->resolveType(Object(PhpParser\Node\Expr\ClassConstFetch))
#4 phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Analyser/MutatingScope.php(354): PHPStan\Analyser\MutatingScope->getType(Object(PhpParser\Node\Expr\C in phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Reflection/ClassConstantReflection.php on line 38
Fatal error: Uncaught Error: Class 'Doctrine\ODM\MongoDB\Types\Type' not found in phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Reflection/ClassConstantReflection.php:38
Stack trace:
#0 phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Reflection/ClassConstantReflection.php(38): ReflectionClassConstant->getValue()
#1 phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Reflection/ClassConstantReflection.php(42): PHPStan\Reflection\ClassConstantReflection->getValue()
#2 phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Analyser/MutatingScope.php(1028): PHPStan\Reflection\ClassConstantReflection->getValueType()
#3 phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Analyser/MutatingScope.php(298): PHPStan\Analyser\MutatingScope->resolveType(Object(PhpParser\Node\Expr\ClassConstFetch))
#4 phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Analyser/MutatingScope.php(354): PHPStan\Analyser\MutatingScope->getType(Object(PhpParser\Node\Expr\C in phar:///src/api-platform/core/vendor/phpstan/phpstan/phpstan/src/Reflection/ClassConstantReflection.php on line 38
Code snippet that reproduces the problem
Expected output
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels