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

PHP constants try to parse as fuctions #51

Closed
jeremyvii opened this issue Jan 16, 2020 · 0 comments · Fixed by #56
Closed

PHP constants try to parse as fuctions #51

jeremyvii opened this issue Jan 16, 2020 · 0 comments · Fixed by #56

Comments

@jeremyvii
Copy link
Owner

Describe the bug
When attempting to autocomplete a const in PHP, the parser thinks it is attempting to parse a function or method.

/**
 * [ description]
 *
 * @return [type]
 *   [return description]
 */
const FOO = 4;

To Reproduce
Attempt to autocomplete the following snippet

const FOO = 4;

Expected behavior

/**
 * [FOO description]
 *
 * @var [type]
 */
const FOO = 4;

Code Snippet

const FOO = 4;

Enviroment (please complete the following information):

  • OS: Xubuntu
  • Version 0.7.0
  • Language(s) PHP
@jeremyvii jeremyvii linked a pull request Mar 27, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant