DCOM-164: @type phpdoc annotations are not ignored (@type == @var) #465

Closed
doctrinebot opened this Issue Jan 22, 2013 · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user mnapoli:

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?

@doctrinebot

Comment created by mnapoli:

PR: doctrine/annotations#2

@doctrinebot

Comment created by @guilhermeblanco:

Will not fix as phpDoc2 does not use @type anymore.

@doctrinebot

Issue was closed with resolution "Won't Fix"

@doctrinebot doctrinebot added the Bug label Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment