From 8e82ea7b20f821fe8559da7cec815727e0367309 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Tue, 25 Apr 2017 19:43:35 +0300 Subject: [PATCH] Checker php: reset error_log (@guywithnose). --- plugin/syntastic.vim | 2 +- syntax_checkers/php/php.vim | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 8f0d1b00..48d9564a 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.8.0-48' +let g:_SYNTASTIC_VERSION = '3.8.0-49' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/php/php.vim b/syntax_checkers/php/php.vim index 5b118f68..071f976d 100644 --- a/syntax_checkers/php/php.vim +++ b/syntax_checkers/php/php.vim @@ -1,6 +1,6 @@ "============================================================================ "File: php.vim -"Description: Syntax checking plugin for syntastic.vim +"Description: Syntax checking plugin for syntastic "Maintainer: Martin Grenfell "License: This program is free software. It comes without any warranty, " to the extent permitted by applicable law. You can redistribute @@ -26,7 +26,7 @@ endfunction function! SyntaxCheckers_php_php_GetLocList() dict let makeprg = self.makeprgBuild({ \ 'args': '-d error_reporting=E_ALL', - \ 'args_after': '-l -d display_errors=1 -d log_errors=0 -d xdebug.cli_color=0' }) + \ 'args_after': '-l -d error_log= -d display_errors=1 -d log_errors=0 -d xdebug.cli_color=0' }) let errorformat = \ '%-GNo syntax errors detected in%.%#,'.