Merge pull request #3529 from krsch/master

phan: add filename to output
This commit is contained in:
Horacio Sanson
2021-02-05 23:02:47 +09:00
committed by GitHub
2 changed files with 7 additions and 3 deletions

View File

@@ -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, [