Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

[Linter] Error running PHP #387

Open
derek2nc opened this issue Jul 2, 2021 · 0 comments
Open

[Linter] Error running PHP #387

derek2nc opened this issue Jul 2, 2021 · 0 comments

Comments

@derek2nc
Copy link

derek2nc commented Jul 2, 2021

I have installed Atom with the Linter and Linter-php many times but on this computer it's giving me the Linter error popup telling me to look into the console. The error in console shows the right error but instead of a red dot in the left menu it shows the pop up error.
Please help with ideas to fix

C:\Users\wow.atom\packages\linter\dist\index.js:1 [Linter] Error running PHP Error: PHP Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ',' or ';' in Standard input code on line 5
at ChildProcess. (C:\Users\wow.atom\packages\linter-php\node_modules\sb-exec\lib\index.js:56:20)
at ChildProcess.emit (events.js:223:5)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant