From bb8e259e3182f1741f57454485f4eaf2ec857e19 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Tue, 18 Feb 2014 08:53:24 +0200 Subject: [PATCH] phpcs: move --tab-width to args. --- syntax_checkers/php/phpcs.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/syntax_checkers/php/phpcs.vim b/syntax_checkers/php/phpcs.vim index 11b183a1..23d539df 100644 --- a/syntax_checkers/php/phpcs.vim +++ b/syntax_checkers/php/phpcs.vim @@ -23,7 +23,8 @@ set cpo&vim function! SyntaxCheckers_php_phpcs_GetLocList() dict let makeprg = self.makeprgBuild({ - \ 'args_after': '--report=csv --tab-width=' . &tabstop }) + \ 'args': '--tab-width=' . &tabstop, + \ 'args_after': '--report=csv' }) let errorformat = \ '%-GFile\,Line\,Column\,Type\,Message\,Source\,Severity,'. @@ -37,7 +38,7 @@ endfunction call g:SyntasticRegistry.CreateAndRegisterChecker({ \ 'filetype': 'php', - \ 'name': 'phpcs'}) + \ 'name': 'phpcs' }) let &cpo = s:save_cpo unlet s:save_cpo