mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 21:44:47 +08:00
Fix to follow the Google VimScript Style Guide
This commit is contained in:
@@ -9,7 +9,7 @@ let g:ale_php_phan_use_client = get(g:, 'ale_php_phan_use_client', 0)
|
|||||||
|
|
||||||
function! ale_linters#php#phan#GetExecutable(buffer) abort
|
function! ale_linters#php#phan#GetExecutable(buffer) abort
|
||||||
let l:executable = ale#Var(a:buffer, 'php_phan_executable')
|
let l:executable = ale#Var(a:buffer, 'php_phan_executable')
|
||||||
if g:ale_php_phan_use_client == 1 && l:executable ==# 'phan'
|
if g:ale_php_phan_use_client == 1 && l:executable is# 'phan'
|
||||||
let l:executable = 'phan_client'
|
let l:executable = 'phan_client'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user