We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
First of all, thanks for this amazing project.
It's very easy to add uses using $namespace->addUse but it appears to be impossible to remove an imported namespace.
$namespace->addUse
It would be great if it was possible to call $namespace->removeUse('Fully\Qualified');.
$namespace->removeUse('Fully\Qualified');
Currently I solve the useless imports by running it through PHP CS Fixer, that works. But feels a bit of a work around.
The text was updated successfully, but these errors were encountered:
bd30876
PhpNamespace: added removeUse() [Closes #102]
23462f6
010e108
No branches or pull requests
First of all, thanks for this amazing project.
It's very easy to add uses using
$namespace->addUse
but it appears to be impossible to remove an imported namespace.It would be great if it was possible to call
$namespace->removeUse('Fully\Qualified');
.Currently I solve the useless imports by running it through PHP CS Fixer, that works. But feels a bit of a work around.
The text was updated successfully, but these errors were encountered: