mago icon indicating copy to clipboard operation
mago copied to clipboard

Import FQCN

Open norberttech opened this issue 3 months ago • 0 comments

🚀 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

norberttech avatar Oct 12 '25 18:10 norberttech