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
useSymfony\Component\Validator\ConstraintsasAssert;
classPushInfo
{
/** * * @var string * @Assert\NotBlank() */protected$bizId;
}
$va = sfvalidation();
$errors = $va->validate($pushInfo);
can work
Actual behaviour
i got a exception [Semantical Error] The annotation \"@Symfony\\Component\\Validator\\Constraints\\NotBlank\" in property App\\Utils\\HllPush\\PushInfo::$bizId was never imported. Did you maybe forget to add a \"use\" statement for this annotation?
Steps to reproduce the behaviour
when i delete DoctrineServiceProvider
it can work right!
The text was updated successfully, but these errors were encountered:
Package version, Laravel version
laravel-doctrine/orm": "^1.6",
"laravel/lumen-framework": "^7.2",
Expected behaviour
Actual behaviour
i got a exception
[Semantical Error] The annotation \"@Symfony\\Component\\Validator\\Constraints\\NotBlank\" in property App\\Utils\\HllPush\\PushInfo::$bizId was never imported. Did you maybe forget to add a \"use\" statement for this annotation?
Steps to reproduce the behaviour
when i delete
DoctrineServiceProvider
it can work right!
The text was updated successfully, but these errors were encountered: