mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 21:24:33 +08:00
Clean up tests to stop people copy and pasting the wrong examples
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
Before:
|
||||
runtime ale_linters/php/phan.vim
|
||||
|
||||
After:
|
||||
call ale#linter#Reset()
|
||||
|
||||
Execute(The php static analyzer handler should parse errors from phan):
|
||||
AssertEqual
|
||||
\ [
|
||||
@@ -19,6 +22,3 @@ Execute(The php static analyzer handler should parse errors from phan):
|
||||
\ "example.php:25 PhanUndeclaredTypeReturnType Return type of getValidator is undeclared type \\Respect\\Validation\\Validator",
|
||||
\ "example.php:66 PhanUndeclaredClassMethod Call to method string from undeclared class \\Respect\\Validation\\Validator",
|
||||
\ ])
|
||||
|
||||
After:
|
||||
call ale#linter#Reset()
|
||||
|
||||
Reference in New Issue
Block a user