From ecc796b3d798f86a619469559977a76b439f7333 Mon Sep 17 00:00:00 2001 From: Shad Date: Sun, 10 Dec 2023 12:11:29 +0100 Subject: fix tempfile for phpmd, to be able to use phpmd 2.14.0 (#4617) --- ale_linters/php/phpmd.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ale_linters/php') diff --git a/ale_linters/php/phpmd.vim b/ale_linters/php/phpmd.vim index 9b1d1e44..368a66c3 100644 --- a/ale_linters/php/phpmd.vim +++ b/ale_linters/php/phpmd.vim @@ -7,9 +7,9 @@ let g:ale_php_phpmd_executable = get(g:, 'ale_php_phpmd_executable', 'phpmd') let g:ale_php_phpmd_ruleset = get(g:, 'ale_php_phpmd_ruleset', 'cleancode,codesize,controversial,design,naming,unusedcode') function! ale_linters#php#phpmd#GetCommand(buffer) abort - return '%e %s text' + return '%e %t text' \ . ale#Pad(ale#Var(a:buffer, 'php_phpmd_ruleset')) - \ . ' --ignore-violations-on-exit %t' + \ . ' --ignore-violations-on-exit' endfunction function! ale_linters#php#phpmd#Handle(buffer, lines) abort -- cgit v1.2.3