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.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/php/phpcs.vim b/ale_linters/php/phpcs.vim
index db7598fa..ed74b443 100644
--- a/ale_linters/php/phpcs.vim
+++ b/ale_linters/php/phpcs.vim
@@ -50,7 +50,7 @@ function! ale_linters#php#phpcs#Handle(buffer, lines)
return output
endfunction
-call ALEAddLinter('php', {
+call ale#linter#Define('php', {
\ 'name': 'phpcs',
\ 'executable': 'phpcs',
\ 'command_callback': 'ale_linters#php#phpcs#GetCommand',