Skip to content
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

global_namespace_import disabled but PhpCsFixerCustomFixers/no_import_from_global_namespace enabled #1008

Closed
bendavies opened this issue Feb 2, 2024 · 1 comment · Fixed by #1012
Assignees

Comments

@bendavies
Copy link

bendavies commented Feb 2, 2024

Hi there,

Do you know why

global_namespace_import is disabled but PhpCsFixerCustomFixers/no_import_from_global_namespace is enabled?

Can't the core global_namespace_import be configured to do the same thing with ['import_classes' => false, 'import_constants' => false, 'import_functions' => false]

Thanks

@localheinz
Copy link
Member

That's a good point - thank you, @bendavies!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants