updating config option format and adding to doc

This commit is contained in:
jwilliams108
2016-10-07 11:03:19 +11:00
parent c5d3cc5bc7
commit a14790f6ca
2 changed files with 15 additions and 2 deletions

View File

@@ -11,8 +11,8 @@ function! ale_linters#php#phpcs#GetCommand(buffer)
let command = 'phpcs -s --report=emacs --stdin-path=%s'
" This option can be set to change the standard used by phpcs
if exists('g:ale_linters_php_phpcs_standard')
let command .= ' --standard=' . g:ale_linters_php_phpcs_standard
if exists('g:ale_php_phpcs_standard')
let command .= ' --standard=' . g:ale_php_phpcs_standard
endif
return command