-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Traits not being handled properly #111
Comments
I can confirm the current version doesn't work with traits.
Maybe #101 or alternatives are worth investigating |
What about a simple check if I don't think the |
I must admit confess I am bad at regex. Can you help with the regex please?
|
I'm a regex lame too 🙈 but let me see what I can do with this one |
Well, look like #101 is a way to go indeed |
@Kubitomakita I have started a PR #150 to workaround the traits issue because I need this for my own open-source project as mentioned in #149. But I need to quote myself for this here again:
|
Trait:
Gets replaced with:
We could always backslashit:
use \Package\Traits\Common;
but then it becomesuse Imposter\Prefix\\Package\Traits\Common
Is there any workaround? It might be related to #58 but this doesn't seem to apply to traits.
The text was updated successfully, but these errors were encountered: