From 947360f714cac48cff1b3e1949b1b66b48be671e Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Thu, 27 Sep 2018 11:48:47 -0400 Subject: Add psalm linter for PHP (#1893) --- test/command_callback/test_psalm_command_callbacks.vader | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/command_callback/test_psalm_command_callbacks.vader (limited to 'test/command_callback') diff --git a/test/command_callback/test_psalm_command_callbacks.vader b/test/command_callback/test_psalm_command_callbacks.vader new file mode 100644 index 00000000..4c31b7b4 --- /dev/null +++ b/test/command_callback/test_psalm_command_callbacks.vader @@ -0,0 +1,12 @@ +Before: + call ale#assert#SetUpLinterTest('php', 'psalm') + +After: + call ale#assert#TearDownLinterTest() + +Execute(Custom executables should be used for the executable and command): + let g:ale_php_psalm_executable = 'psalm_test' + + AssertLinter 'psalm_test', + \ ale#Escape('psalm_test') . ' --diff --output-format=emacs %s' + -- cgit v1.2.3