summaryrefslogtreecommitdiff
path: root/ale_linters/php
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/php')
-rw-r--r--ale_linters/php/php.vim6
-rw-r--r--ale_linters/php/phpcs.vim6
2 files changed, 0 insertions, 12 deletions
diff --git a/ale_linters/php/php.vim b/ale_linters/php/php.vim
index 21288428..cbbd088d 100644
--- a/ale_linters/php/php.vim
+++ b/ale_linters/php/php.vim
@@ -1,12 +1,6 @@
" Author: Spencer Wood <https://github.com/scwood>
" Description: This file adds support for checking PHP with php-cli
-if exists('g:loaded_ale_linters_php_php')
- finish
-endif
-
-let g:loaded_ale_linters_php_php = 1
-
function! ale_linters#php#php#Handle(buffer, lines)
" Matches patterns like the following:
"
diff --git a/ale_linters/php/phpcs.vim b/ale_linters/php/phpcs.vim
index a028964d..6e64d30e 100644
--- a/ale_linters/php/phpcs.vim
+++ b/ale_linters/php/phpcs.vim
@@ -1,12 +1,6 @@
" Author: jwilliams108 <https://github.com/jwilliams108>
" Description: phpcs for PHP files
-if exists('g:loaded_ale_linters_php_phpcs')
- finish
-endif
-
-let g:loaded_ale_linters_php_phpcs = 1
-
function! ale_linters#php#phpcs#GetCommand(buffer)
let l:command = 'phpcs -s --report=emacs --stdin-path=%s'