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 Codeintel always assumes there is at least one token #895

Closed
mitchell-as opened this Issue Nov 23, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@mitchell-as
Member

mitchell-as commented Nov 23, 2015

As a result, codeintel errors are raised when creating a new, blank PHP file. This has been the case from the very beginning, but the new notifications introduced in 9.x have brought this issue to light.

@mitchell-as mitchell-as self-assigned this Nov 23, 2015

@mitchell-as mitchell-as added this to the 9.3.2 milestone Nov 23, 2015

mitchell-as added a commit that referenced this issue Nov 23, 2015

fix: codeintel: Do not error on blank documents - fixes #895
For some reason, there was an assumption there was always at least one token in the document.

rn=

(integrated from master branch change 9.2.1-700-ge195eea by Mitchell <mitchellb@activestate.com>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment