summaryrefslogtreecommitdiff
path: root/ale_linters/php/phpcs.vim
diff options
context:
space:
mode:
authorBartek thindil Jasicki <thindil@laeran.pl>2020-11-27 13:38:24 +0100
committerBartek thindil Jasicki <thindil@laeran.pl>2020-11-27 13:38:24 +0100
commit09b8cc97de2bd78f09c8331be25ede9e4ef8abb1 (patch)
tree62407f3473347c164aaa8960cb6796c790d99ecd /ale_linters/php/phpcs.vim
parentf156548c16d87a60664002a4c88c534486b84de5 (diff)
parent1365dce921c1fb84a668ae121d5d5aeebef99fbc (diff)
downloadale-09b8cc97de2bd78f09c8331be25ede9e4ef8abb1.zip
Merge remote-tracking branch 'upstream/master'
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 11b81e84..c5a3faa9 100644
--- a/ale_linters/php/phpcs.vim
+++ b/ale_linters/php/phpcs.vim
@@ -23,7 +23,7 @@ function! ale_linters#php#phpcs#Handle(buffer, lines) abort
" Matches against lines like the following:
"
" /path/to/some-filename.php:18:3: error - Line indented incorrectly; expected 4 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact)
- let l:pattern = '^.*:\(\d\+\):\(\d\+\): \(.\+\) - \(.\+\) (\(.\+\))$'
+ let l:pattern = '^.*:\(\d\+\):\(\d\+\): \(.\+\) - \(.\+\) (\(.\+\)).*$'
let l:output = []
for l:match in ale#util#GetMatches(a:lines, l:pattern)