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:
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.
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.