mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 21:24:33 +08:00
Read errors from stdout only (and make sure they are displayed)
This commit is contained in:
@@ -48,14 +48,14 @@ Execute(The php handler should parse lines correctly):
|
||||
\ ],
|
||||
\ ale_linters#php#php#Handle(347, [
|
||||
\ 'This line should be ignored completely',
|
||||
\ "Parse error: syntax error, This line should be ignored completely in - on line 1",
|
||||
\ "PHP Parse error: syntax error, unexpected ';', expecting ']' in - on line 1",
|
||||
\ "PHP Parse error: syntax error, unexpected '/', expecting function (T_FUNCTION) or const (T_CONST) in - on line 2",
|
||||
\ "PHP Parse error: syntax error, unexpected ')' in - on line 3",
|
||||
\ "PHP Parse error: syntax error, unexpected ''bar'' (T_CONSTANT_ENCAPSED_STRING), expecting ']' in - on line 4",
|
||||
\ "PHP Fatal error: Cannot redeclare count() in - on line 5",
|
||||
\ 'PHP Parse error: syntax error, unexpected end of file in - on line 21',
|
||||
\ 'PHP Parse error: Invalid numeric literal in - on line 47',
|
||||
\ "PHP Parse error: syntax error, This line should be ignored completely in - on line 1",
|
||||
\ "Parse error: syntax error, unexpected ';', expecting ']' in - on line 1",
|
||||
\ "Parse error: syntax error, unexpected '/', expecting function (T_FUNCTION) or const (T_CONST) in - on line 2",
|
||||
\ "Parse error: syntax error, unexpected ')' in - on line 3",
|
||||
\ "Parse error: syntax error, unexpected ''bar'' (T_CONSTANT_ENCAPSED_STRING), expecting ']' in - on line 4",
|
||||
\ "Fatal error: Cannot redeclare count() in - on line 5",
|
||||
\ 'Parse error: syntax error, unexpected end of file in - on line 21',
|
||||
\ 'Parse error: Invalid numeric literal in - on line 47',
|
||||
\ ])
|
||||
|
||||
After:
|
||||
|
||||
Reference in New Issue
Block a user