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

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

No files matched your search

+1 -1
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',
\})