Skip to content
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

When finding usage of a class which was used as part of annotation, it's not being found #141

Open
golaod opened this issue Apr 24, 2019 · 0 comments

Comments

@golaod
Copy link

golaod commented Apr 24, 2019

An example

<?php

namespace Acme {
    class MyClass {}

    /**
     * @Annotation(MyClass::class)
     */
    class MyUse {}
}

namespace Acme2 {
    use Acme\MyClass;

    /**
     * @Annotation(MyClass::class)
     */
    class OtherUse {}
}

When I try to use 'find usage' on MyClass, it won't find MyUse and it will find only use Acme\MyClass;

Is there a chance that 'find usage' would see MyClass::class in annotations?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant