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

Fix invalid fixer behaviour (no namespace, imported class, fcqn) #34

Merged
merged 1 commit into from
Oct 6, 2019

Conversation

michalbundyra
Copy link
Member

In case of file without namespace, when we have imported class and also used the same class with fcqn in the file (without leading \) import was removed and fcqn was replaced with the imported name. It leads to invalid class name in the file. Only import should be removed.

In case of file without namespace, when we have imported class
and also used the same class with fcqn in the file (without leading `\`)
import was removed and fcqn was replaced with the imported name.
It leads to invalid class name in the file. Only import should be removed.
@michalbundyra michalbundyra added the bug Something isn't working label Jul 28, 2019
@michalbundyra michalbundyra added this to the 1.0.5 milestone Jul 28, 2019
michalbundyra added a commit that referenced this pull request Oct 6, 2019
Fix invalid fixer behaviour (no namespace, imported class, fcqn)
michalbundyra added a commit that referenced this pull request Oct 6, 2019
michalbundyra added a commit that referenced this pull request Oct 6, 2019
@michalbundyra michalbundyra merged commit fddaf8c into master Oct 6, 2019
@michalbundyra michalbundyra deleted the hotfix/fixer-conflicts branch October 6, 2019 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant