From 2503eda68bdb7ada35b6a3c049cdb5384dac0725 Mon Sep 17 00:00:00 2001 From: Adriaan Zonnenberg Date: Tue, 9 May 2017 18:34:38 +0200 Subject: [PATCH] Merge pull request #533 from pbogut/add_php7_compatibility Add PHP 7 compatibility --- 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.+)@