-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fails to recognize import useful for PHPDoc Annotation(s), PHPStorm 2016.2 #59
Comments
Maybe this has to do with the recently added "alias" feature. What happens if you use: use Zend\Form\Annotation as Annotation; |
I have the same problem. "Alias" feature not resolve it. Also I cannot check and replace all imports in project. However PHPStorm don't check an import with alias but only if alias differs from the import. |
I have the same issue with IntelliJ IDEA 2016.2. This used to work fine in previous versions. I fix is highly appreciated ! |
Everyone is also welcome to pick on JetBrains on their youtrack: |
note for me:
|
Same for me! Noticed some things:
Seems giving an alias with different name is the only working workaround for now |
@Haehnchen, may it be fixed at all? |
so indeed as testing says PhpStorm 2016.2 issue |
@Haehnchen , thank you for making the matter clear. |
... will validate issue tomorrow |
Reference can point not only to a class but also to a namespace e.g. @annotation\Exclude()
fixed by #63 and released |
|
@artspb, many thanks! Accomplishment much appreciated! |
The plugin falsely considers an import of a class unused provided the class is mentioned in PHPDoc Annotations and never addressed in code in any way.
It has never been this way in PHPStorm 2016.1 and appeared after update to 2016.2
The text was updated successfully, but these errors were encountered: