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

PSR2.Namespaces.UseDeclaration does not properly fix "use function" and "use const" statements #2143

Merged
merged 1 commit into from
Aug 28, 2018

Conversation

thewilkybarkid
Copy link
Contributor

Currently works correctly with curly braces, but turns function and constant uses into classes.

@gsherwood gsherwood added this to the 3.3.2 milestone Aug 28, 2018
@gsherwood gsherwood changed the title Stop function and const being lost in PSR-2 UseDeclarationSniff PSR2.Namespaces.UseDeclaration does not properly fix "use function" and "use const" statements Aug 28, 2018
@gsherwood gsherwood merged commit 2908150 into squizlabs:master Aug 28, 2018
gsherwood added a commit that referenced this pull request Aug 28, 2018
@gsherwood
Copy link
Member

Clear report. Unit tests. Good fix. Perfect PR - thanks so much for reporting and fixing. 👍 👍

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

Successfully merging this pull request may close these issues.

2 participants