You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Fatal error: Uncaught Doctrine\Common\Annotations\AnnotationException: [Semantical Error] The annotation "@Date" in method Inhere\Validate\AbstractValidation::getMessage() was never imported. Did you maybe forget to add a "use" statement for this annotation? in /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:54
Stack trace:
#0 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(727): Doctrine\Common\Annotations\AnnotationException::semanticalError('The annotation ...') #1 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(663): Doctrine\Common\Annotations\DocParser->Annotation() #2 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(354): Doctrine\Common\Annotations\DocParser->Annotations() #3 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php(286): Doctrine\ in /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php on line 54
PHP Fatal error: Uncaught Doctrine\Common\Annotations\AnnotationException: [Semantical Error] The annotation "@from" in method Inhere\Validate\AbstractValidation::requiredIf() was never imported. Did you maybe forget to add a "use" statement for this annotation? in /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:54
Stack trace:
#0 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(727): Doctrine\Common\Annotations\AnnotationException::semanticalError('The annotation ...') #1 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(663): Doctrine\Common\Annotations\DocParser->Annotation() #2 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(354): Doctrine\Common\Annotations\DocParser->Annotations() #3 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php(286): Doctrine\ in /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php on line 54
PHP Fatal error: Uncaught Doctrine\Common\Annotations\AnnotationException: [Semantical Error] The annotation "@from" in method Inhere\Validate\AbstractValidation::requiredWithoutAll() was never imported. Did you maybe forget to add a "use" statement for this annotation? in /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:54
Stack trace:
#0 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(727): Doctrine\Common\Annotations\AnnotationException::semanticalError('The annotation ...') #1 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(663): Doctrine\Common\Annotations\DocParser->Annotation() #2 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(354): Doctrine\Common\Annotations\DocParser->Annotations() #3 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php(286): D in /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php on line 54
PHP Fatal error: Uncaught Doctrine\Common\Annotations\AnnotationException: [Semantical Error] The annotation "@Date" in method Inhere\Validate\AbstractValidation::getMessage() was never imported. Did you maybe forget to add a "use" statement for this annotation? in /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:54
Stack trace:
#0 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(727): Doctrine\Common\Annotations\AnnotationException::semanticalError('The annotation ...')
#1 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(663): Doctrine\Common\Annotations\DocParser->Annotation()
#2 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(354): Doctrine\Common\Annotations\DocParser->Annotations()
#3 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php(286): Doctrine\ in /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php on line 54
PHP Fatal error: Uncaught Doctrine\Common\Annotations\AnnotationException: [Semantical Error] The annotation "@from" in method Inhere\Validate\AbstractValidation::requiredIf() was never imported. Did you maybe forget to add a "use" statement for this annotation? in /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:54
Stack trace:
#0 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(727): Doctrine\Common\Annotations\AnnotationException::semanticalError('The annotation ...')
#1 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(663): Doctrine\Common\Annotations\DocParser->Annotation()
#2 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(354): Doctrine\Common\Annotations\DocParser->Annotations()
#3 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php(286): Doctrine\ in /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php on line 54
PHP Fatal error: Uncaught Doctrine\Common\Annotations\AnnotationException: [Semantical Error] The annotation "@from" in method Inhere\Validate\AbstractValidation::requiredWithoutAll() was never imported. Did you maybe forget to add a "use" statement for this annotation? in /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:54
Stack trace:
#0 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(727): Doctrine\Common\Annotations\AnnotationException::semanticalError('The annotation ...')
#1 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(663): Doctrine\Common\Annotations\DocParser->Annotation()
#2 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(354): Doctrine\Common\Annotations\DocParser->Annotations()
#3 /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php(286): D in /usr/local/src/swoft-admin/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php on line 54
以上报错是因为注解的原因。
在php-validate/src/Utils/ErrorMessageTrait.php 的379行代码 @Date 有问题。目前我删除了@就不会报错
在php-validate/src/Utils/UserAndContextValidatorsTrait.php 的159、267行代码@from有问题。删除@就不会报错。
这个是否已经跟注解的关键字有冲突,希望能排查下
The text was updated successfully, but these errors were encountered: