[DCOM-164] @type phpdoc annotations are not ignored (@type == @var) Created: 22/Jan/13 Updated: 06/Dec/13 Resolved: 06/Dec/13
|Reporter:||Matthieu Napoli||Assignee:||Guilherme Blanco|
phpDocumentor guys wrote their own PSR to define how to use phpdoc properly (https://github.com/phpDocumentor/phpDocumentor2/blob/develop/docs/PSR.md).
They deprecate the @var annotation and recommend using @type instead.
The @type (phpdoc) annotation is not blacklisted/ignored by the AnnotationReader. Code that uses this annotation raises errors with Doctrine/Annotations.
@type should be blacklisted/ignored, but may that create BC breaks for users?
|Comment by Matthieu Napoli [ 22/Jan/13 ]|
|Comment by Guilherme Blanco [ 06/Dec/13 ]|
Will not fix as phpDoc2 does not use @type anymore.