mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-01 17:13:30 +08:00
Support reading from both output streams, and fix PHP error parsing, which sometimes logs to stderr, sometimes stdout.
This commit is contained in:
@@ -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',
|
||||
\})
|
||||
|
||||
Reference in New Issue
Block a user