From a1932b7ff5517225ed364f18c6e4d9c752a87672 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 12 Apr 2017 23:58:01 +0100 Subject: [PATCH] Merge pull request #467 from adriaanzon/php-fix-double-errors PHP: Fix double errors and support fatal errors --- ale_linters/php/php.vim | 4 ++-- test/handler/test_php_handler.vader | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ale_linters/php/php.vim b/ale_linters/php/php.vim index ebc21ea3..3f354de5 100644 --- a/ale_linters/php/php.vim +++ b/ale_linters/php/php.vim @@ -1,11 +1,11 @@ -" Author: Spencer Wood +" Author: Spencer Wood , Adriaan Zonnenberg " Description: This file adds support for checking PHP with php-cli 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 = '\vParse error:\s+(.+unexpected ''(.+)%(expecting.+)@