summaryrefslogtreecommitdiff
path: root/ale_linters/php/php.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-07 17:08:11 +0100
committerw0rp <devw0rp@gmail.com>2016-10-07 17:08:11 +0100
commitd97e25a2601d58a1d7e8ae72fb787210f2588a69 (patch)
tree7a1c3c222fb4a85ace9fad7323f509a3af462f54 /ale_linters/php/php.vim
parentf0f17e4b0d472dd180c6f4b92aa8c28c550d3f7f (diff)
downloadale-d97e25a2601d58a1d7e8ae72fb787210f2588a69.zip
Support reading from both output streams, and fix PHP error parsing, which sometimes logs to stderr, sometimes stdout.
Diffstat (limited to 'ale_linters/php/php.vim')
-rw-r--r--ale_linters/php/php.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/php/php.vim b/ale_linters/php/php.vim
index 4b4b1720..cc875e9c 100644
--- a/ale_linters/php/php.vim
+++ b/ale_linters/php/php.vim
@@ -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',
\})