summaryrefslogtreecommitdiff
path: root/ale_linters/php/phpcs.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-05-14 22:58:58 +0100
committerw0rp <devw0rp@gmail.com>2019-05-14 22:58:58 +0100
commit4234d39d87c6cdd37eb5f52af58c0454b23843ca (patch)
tree9717ba114b4c13ec2257ec5e5e4db423d779ff3f /ale_linters/php/phpcs.vim
parent381fe1badfe39283f28ca02e0b724e6d49ab23ff (diff)
downloadale-4234d39d87c6cdd37eb5f52af58c0454b23843ca.zip
Close #908 - Report phpcs problems as style problems
Diffstat (limited to 'ale_linters/php/phpcs.vim')
-rw-r--r--ale_linters/php/phpcs.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/php/phpcs.vim b/ale_linters/php/phpcs.vim
index 1c92bbb2..c2c33a1b 100644
--- a/ale_linters/php/phpcs.vim
+++ b/ale_linters/php/phpcs.vim
@@ -36,6 +36,7 @@ function! ale_linters#php#phpcs#Handle(buffer, lines) abort
\ 'col': l:match[2] + 0,
\ 'text': l:text,
\ 'type': l:type is# 'error' ? 'E' : 'W',
+ \ 'sub_type': 'style',
\})
endfor