Skip to content
This repository was archived by the owner on Jan 11, 2026. It is now read-only.

Conversation

@acran
Copy link

@acran acran commented Feb 24, 2021

Since the last update of this package in 2017 the https://github.com/atom/language-php package has undergone significant changes breaking the functionality of atom-autocomplete-php. This is mostly to a changed structure / naming of CSS selectors / syntax scopes.

This PR updates appropriately to make atom-autocomplete-php work with a recent language-php / atom version.

With multiple matches but with none of them having isMethod
getMemberContext would return the whole array instead of a single value
or undefined causing errors in the calling code paths
Changes made to the language-php syntax package rendered the used
selectors broken. With this the selectors now match as intended again.
Changes made to the language-php syntax package rendered the used
selectors broken. With this the selectors now match as intended again.
Selectors were not matching class constants correctly. Also constants
would be treated the same as methods although not having a
declaringStructure but declaringClass instead.

See also previous commits
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant