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

FQN being used for classes in same package #179

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

EnricoZeilmaker
Copy link

reverting one of the changes from commit f81d1ac58de0e89d1c596b84a6eec6b00ffb16a6, because it caused the use of the FQN for classes defined within the same package

additionally added a comment on class variable names being added as dependencies, that maybe can/should be removed, but is not causing issues (I think)

Enrico Zeilmaker added 2 commits August 1, 2023 05:29
…he use of the FQN for classes defined within the same package

(cherry picked from commit ab4fd58)
@jindrapetrik
Copy link
Owner

Thank you. It seems that this fixes issue 2017.
To the comment: Yes, I investigated that part, and it seems that it adds unnecessary attribute names to imports list. I will fix it later...

@jindrapetrik jindrapetrik merged commit 5cdeae1 into jindrapetrik:dev Sep 6, 2023
@jindrapetrik
Copy link
Owner

The call to parent getDependencies is important as it should detect namespace imports on variables. But unfortunately, it also adds the variable itself to the import, which is wrong.

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

Successfully merging this pull request may close these issues.

2 participants