diff options
author | w0rp <devw0rp@gmail.com> | 2019-05-07 19:38:32 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-05-07 19:38:38 +0100 |
commit | 5f64f8dc5799d9ad93544d24fb780428cd07dbbe (patch) | |
tree | 2039386cfbaa537d8d7ac9664f6f3efdf0248ac4 /ale_linters/php | |
parent | c10da0e390b37ae6a739769dffb3b8dcf36a81d0 (diff) | |
download | ale-5f64f8dc5799d9ad93544d24fb780428cd07dbbe.zip |
Escape phpstan arguments, and update documentation
Diffstat (limited to 'ale_linters/php')
-rw-r--r-- | ale_linters/php/phpstan.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/php/phpstan.vim b/ale_linters/php/phpstan.vim index ca12211c..b621f855 100644 --- a/ale_linters/php/phpstan.vim +++ b/ale_linters/php/phpstan.vim @@ -9,7 +9,7 @@ let g:ale_php_phpstan_configuration = get(g:, 'ale_php_phpstan_configuration', ' function! ale_linters#php#phpstan#GetCommand(buffer, version) abort let l:configuration = ale#Var(a:buffer, 'php_phpstan_configuration') let l:configuration_option = !empty(l:configuration) - \ ? ' -c ' . l:configuration + \ ? ' -c ' . ale#Escape(l:configuration) \ : '' let l:level = ale#Var(a:buffer, 'php_phpstan_level') @@ -21,7 +21,7 @@ function! ale_linters#php#phpstan#GetCommand(buffer, version) abort endif let l:level_option = !empty(l:level) - \ ? ' -l ' . l:level + \ ? ' -l ' . ale#Escape(l:level) \ : '' let l:error_format = ale#semver#GTE(a:version, [0, 10, 3]) |