Support reading from both output streams, and fix PHP error parsing, which sometimes logs to stderr, sometimes stdout.

This commit is contained in:
w0rp
2016-10-07 17:08:11 +01:00
parent f0f17e4b0d
commit d97e25a260
3 changed files with 17 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ endfunction
call ALEAddLinter('php', {
\ 'name': 'php',
\ 'executable': 'php',
\ 'output_stream': 'stderr',
\ 'output_stream': 'both',
\ 'command': 'php -l --',
\ 'callback': 'ale_linters#php#php#Handle',
\})