diff options
author | Adriaan Zonnenberg <adriaanzon@users.noreply.github.com> | 2017-05-09 18:34:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-09 18:34:38 +0200 |
commit | 4e5a848d953c449a7655fb4e11e4c0cdf6254cac (patch) | |
tree | 97d78e3a421d833a0d15c6ebcc885c3251b40fed /test | |
parent | 6ea00af6895e111320a2047f43f94792a46b6cea (diff) | |
parent | d7bdaeeab0506a526f47b8388a9fa7597d7232c0 (diff) | |
download | ale-4e5a848d953c449a7655fb4e11e4c0cdf6254cac.zip |
Merge pull request #533 from pbogut/add_php7_compatibility
Add PHP 7 compatibility
Diffstat (limited to 'test')
-rw-r--r-- | test/handler/test_php_handler.vader | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/handler/test_php_handler.vader b/test/handler/test_php_handler.vader index 086a4f6a..5dac0948 100644 --- a/test/handler/test_php_handler.vader +++ b/test/handler/test_php_handler.vader @@ -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: |