From cc67bc0541761fb857ed58ed3c9adbf7ee1b1a9b Mon Sep 17 00:00:00 2001 From: Alexey Kreshchuk Date: Fri, 8 Jan 2021 17:24:06 +0300 Subject: add filename to output --- test/handler/test_php_phan_handler.vader | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/handler/test_php_phan_handler.vader b/test/handler/test_php_phan_handler.vader index 23747925..bbdae5dd 100644 --- a/test/handler/test_php_phan_handler.vader +++ b/test/handler/test_php_phan_handler.vader @@ -11,11 +11,13 @@ Execute(The php static analyzer handler should parse errors from phan): \ 'lnum': 25, \ 'type': 'W', \ 'text': 'Return type of getValidator is undeclared type \Respect\Validation\Validator', + \ 'filename': 'example.php', \ }, \ { \ 'lnum': 66, \ 'type': 'W', \ 'text': 'Call to method string from undeclared class \Respect\Validation\Validator', + \ 'filename': 'example.php', \ }, \ ], \ ale_linters#php#phan#Handle(347, [ -- cgit v1.2.3