This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Description
Hello,
I'm using Linter PHP 1.6.1 on macOS 11.4 and it works as expected.
A collaborator is using Linter PHP 1.6.1 on Windows 10 pro and it works as expected.
If we use Atom Teletype to work together on a file, it keeps throwing:
[Linter] Error running PHP
See Console for more info.
and in console:
[Linter] Error running PHP Error: Failed to spawn command php. Make sure php is installed and on your PATH
at /Users/xxx/.atom/packages/linter-eslint/node_modules/atom-linter/lib/helpers.js:130
We checked similar issues:
#256 (comment)
atom/teletype#228
I've set executablePath: "/usr/bin/php"
and he set executablePath: "C:\\Users\\xxx\\Programming Languages\\PHP\\php.exe"
Linter PHP works on our computers but when using Teletype it keeps throwing:
[Linter] Error running PHP
Error running PHP Error: Failed to spawn command /usr/bin/php. Make sure /usr/bin/php is installed and on your PATH
Obviously we can't set the same path since we are on different OS.
Is it a limit of Teletype + Linter PHP or we are doing it wrong?
Thanks