mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-07 12:44:34 +08:00
#2132 - Replace all uses of foo_callback with foo
This commit is contained in:
214 files changed
+452
-524
No files matched your search
@@ -44,10 +44,10 @@ endfunction
|
||||
|
||||
call ale#linter#Define('php', {
|
||||
\ 'name': 'phpcs',
|
||||
\ 'executable_callback': ale#node#FindExecutableFunc('php_phpcs', [
|
||||
\ 'executable': {b -> ale#node#FindExecutable(b, 'php_phpcs', [
|
||||
\ 'vendor/bin/phpcs',
|
||||
\ 'phpcs'
|
||||
\ ]),
|
||||
\ 'command_callback': 'ale_linters#php#phpcs#GetCommand',
|
||||
\ ])},
|
||||
\ 'command': function('ale_linters#php#phpcs#GetCommand'),
|
||||
\ 'callback': 'ale_linters#php#phpcs#Handle',
|
||||
\})
|
||||
Reference in new issue
Block a user