-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing classes named after common phpdoc annotations #317
Comments
Yes, 1.9 => 1.10 seemed to introduce a breaking change here.
in our CI |
I can confirm there is some breaking change in the new release, leading to wrong classes be autoloaded for annotations. For example here: |
Confirming my suspicion: Changing
to
Fixes the issue in my specific case
|
Either that or #271 - which I think is more likely, as it adds the autoloading fallback, which in turn sounds like a good explanation for loading |
I can confirm, that 1.9.0 does not have this issue - the issue was introduced with 1.10.0 |
Thanks! That narrows it down to two potential PRs and I've got a good suspicion that neither is responsible by itself. Please sit tight for a few minutes and use a release < 1.10 in the meantime. Sorry for the disruption. |
Can you please check the changes from #318 to see if it fixes this for you or breaks anything else? Thanks! |
1.10.1 is released. Thanks for bringing this to our attention and confirming the fix! 🎉 |
Since upgrading to the new
doctrine/annotations
1.10.0 release it fails to analyze classes that usephpdocumentor/reflection-docblock
:At first I thought the following in the
Param
class itself would be the issue:but the longer I read the error message the more I am convinced, that my class that imports
phpDocumentor\Reflection\DocBlock\Tags\Param
and then uses@param
in docblocks is at fault: Seems like the@param
is being interpreted as a reference to theParam
class which is not an annotation.I will report back to this ticket after having conducted a couple of tests.
The text was updated successfully, but these errors were encountered: