When saving a .php file where PHP is not installed, the current quickfix list gets replaced, only with the error from the shell that php was not found.
There should either be "cmd_prog" param or the first word from "cmd" could get used with executable() to check for this.
In case the exe is missing there should be a normal message for autochecks and an error message for manual checks.
In case there are no errors, it should also create no new quickfix list.
When saving a .php file where PHP is not installed, the current quickfix list gets replaced, only with the error from the shell that php was not found.
There should either be "cmd_prog" param or the first word from "cmd" could get used with
executable()
to check for this. In case the exe is missing there should be a normal message for autochecks and an error message for manual checks.In case there are no errors, it should also create no new quickfix list.