Is your feature request related to a problem?
After code refactoring or merging, we often have redundant namespace imports with the use keyword. This is a dead code that does nothing but pollution. It's easy to overlook these lines.
Describe the desired solution
Add a sniff raising warning or error on redundant namespace imports.
Describe the alternatives that you have considered
Require the code standard with this rule and just use it.
Additional context
No response
Code of Conduct
Is your feature request related to a problem?
After code refactoring or merging, we often have redundant namespace imports with the
usekeyword. This is a dead code that does nothing but pollution. It's easy to overlook these lines.Describe the desired solution
Add a sniff raising warning or error on redundant namespace imports.
Describe the alternatives that you have considered
Require the code standard with this rule and just use it.
Additional context
No response
Code of Conduct