From d7bdaeeab0506a526f47b8388a9fa7597d7232c0 Mon Sep 17 00:00:00 2001 From: Pawel Bogut Date: Mon, 8 May 2017 21:17:54 +0100 Subject: [PATCH] Read errors from stdout only (and make sure they are displayed) --- ale_linters/php/php.vim | 6 +++--- test/handler/test_php_handler.vader | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ale_linters/php/php.vim b/ale_linters/php/php.vim index 6d15168..7c9e8c1 100644 --- a/ale_linters/php/php.vim +++ b/ale_linters/php/php.vim @@ -5,7 +5,7 @@ function! ale_linters#php#php#Handle(buffer, lines) abort " Matches patterns like the following: " " PHP Parse error: syntax error, unexpected ';', expecting ']' in - on line 15 - let l:pattern = '\vPHP %(Fatal|Parse) error:\s+(.+unexpected ''(.+)%(expecting.+)@