Skip to content

[AutoImport] Handle auto import short name on global namespace #7086

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

Merged
merged 2 commits into from
Jul 23, 2025

Conversation

samsonasik
Copy link
Member

Fixes rectorphp/rector#9277

Just remove the \\ without add to use statement to avoid error:

Warning: The use statement with non-compound name 'DateTime' has no effect in /in/dXm9G on line 5

Ref

@samsonasik
Copy link
Member Author

Fixed 🎉 /cc @wernerkrauss

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it to have faster feedback to test ;)

@samsonasik samsonasik merged commit f27f5f5 into main Jul 23, 2025
47 checks passed
@samsonasik samsonasik deleted the global-namespace branch July 23, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Override imported in global namespace
1 participant