mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 01:07:06 +08:00
Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
" Author: Spencer Wood <https://github.com/scwood>
|
||||
" Description: This file adds support for checking PHP with php-cli
|
||||
|
||||
function! ale_linters#php#php#Handle(buffer, lines)
|
||||
function! ale_linters#php#php#Handle(buffer, lines) abort
|
||||
" Matches patterns like the following:
|
||||
"
|
||||
" Parse error: parse error in - on line 7
|
||||
|
||||
Reference in New Issue
Block a user