global aliases for generic classes #10811
Unanswered
dwilbourne
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying to create a global alias for a class with multiple generic qualifications. For example, I have an abstract class something like the following:
I can easily create a local alias in a source file and use it elsewhere via an import. But I feel it might be cleaner to use global aliases. The following phpstan.neon config file does not resolve correctly.
Nor does a similar one where TreenodeAbstractInterface is fully qualified with its namespace.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions