From 7dbf32d0d7cc93fdf891342732a662d4911d779a Mon Sep 17 00:00:00 2001 From: Adriaan Zonnenberg Date: Wed, 12 Apr 2017 23:59:12 +0200 Subject: [PATCH] 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 ebc21ea..3f354de 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.+)@