Closed slaughter550 closed 8 years ago
In general, this error shows up when there is something wrong with your PHP code or one of the classes you're trying to get information (autocompletion, tooltips, ...) for contains syntax errors.
If your PHP code is completely valid (i.e. it runs correctly) and this error still shows up, it could be that the package is not correctly set up. Could you verify if the package is working properly? You can use the Atom Autocomplete Php: Configuration
command for this (use Atom's command palette to find it).
Maybe a good idea (if possible) would be to tell the user on which line the code is invalid (assuming that the error happened because of invalid code, of course).
When saving this file on Atom
1.0.19
I get the error message
Unexpected end of input
with this tracePlease let me know if you need any more information and I'd be happy to provide it