Skip to content

Conversation

@VitaliyBoyko
Copy link
Contributor

@VitaliyBoyko VitaliyBoyko commented Mar 10, 2021

Description (*)
Test on actual project.

image

Fixed Issues (if relevant)

  1. Fixes Class completion doesn't display interfaces. #502

Questions or comments
ℹ️ In order to apply the fix, the reindexing has to be run.

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with integration/functional tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Vitaliy Boyko added 2 commits March 10, 2021 15:08
interfaceNames.removeIf(i -> !i.contains(className));
for (String iName: interfaceNames) {
final Collection<String> interfaceNames = phpIndex.getAllInterfaceNames();
interfaceNames.removeIf(i -> !i.contains(className.toLowerCase(Locale.ROOT)));
Copy link
Contributor Author

@VitaliyBoyko VitaliyBoyko Mar 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line makes the difference, others are static fixes

Copy link
Contributor

@eduard13 eduard13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great 👍.
Have also added a note to the PR description, that needs to Reindex the files, in order to make it work.

@eduard13 eduard13 merged commit edcff33 into 3.1.3-develop Mar 10, 2021
@eduard13 eduard13 deleted the 502-Class_completion_doesn't_display_interfaces branch March 10, 2021 18:18
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.

3 participants