mago
mago copied to clipboard
Import FQCN
🚀 Describe the Feature
When using refactoring tools from IDE's, we often end up with FQCN class initializations. It would be awesome if Mago linter could fix it automatically.
That's one of the biggest reasons why I even keep rector in my projects
✅ Use Case / Example
Before:
new \Project\Some\ObjectClass()
After:
use Project\Some\ObjectClass;
new ObjectClass()
💡 Proposed Solution
No response
📌 Priority
Nice to have
📝 Additional Context
No response