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
I was trying to incorporate Doctrine types into my project. Types themselves seem to be working fine.
But I came across a problem with type declarations of properties. When I declare property type like this
privatePoint$point;
I get a error:
The annotation "@noproxy" in method Brick\Geo\Point::geometryType() was never imported. Did you maybe forget to add "use" statement for this annotation?
Moreover this problem persists even if I give up the PHP type declarations and use PHPDoc instead.
So the only option is to remove all type declarations altogether which is obviously a huge issue.
The text was updated successfully, but these errors were encountered:
Hmm, I'm surprised as last time I checked it was working, moreover Doctrine Annotations should only complain if you use a non-imported annotation in your code, not third-party, AFAIK.
Let me check this on a brand new project and I'll come back to you.
I was trying to incorporate Doctrine types into my project. Types themselves seem to be working fine.
But I came across a problem with type declarations of properties. When I declare property type like this
I get a error:
Moreover this problem persists even if I give up the PHP type declarations and use PHPDoc instead.
So the only option is to remove all type declarations altogether which is obviously a huge issue.
The text was updated successfully, but these errors were encountered: