summaryrefslogtreecommitdiff
path: root/ale_linters/php/phpcs.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/php/phpcs.vim')
-rw-r--r--ale_linters/php/phpcs.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/php/phpcs.vim b/ale_linters/php/phpcs.vim
index 62517c92..db7598fa 100644
--- a/ale_linters/php/phpcs.vim
+++ b/ale_linters/php/phpcs.vim
@@ -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