avoiding semi-qualified class references? #7898
Unanswered
mindplay-dk
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Actually |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have something like this:
But I want something like this:
That is, I want everything imported - I don't want these weird imports that are neither fully or unqualified.
I can't seem to configure my way around this?
I've tried every rule with the word
import
in it, I can't find anything that works.It seems to happen only with certain classes, and in this specific case,
Foo\User
is both a namespace and a class, so admittedly, this is a bit odd - but perfectly legal in the PHP sense. I wonder if I've run into a bug/limitation of thefully_qualified_strict_types
rule?Here's my whole configuration:
Beta Was this translation helpful? Give feedback.
All reactions