vim-phpqa icon indicating copy to clipboard operation
vim-phpqa copied to clipboard

php7 and stdout

Open markkimsal opened this issue 9 years ago • 0 comments

my copy of php7 cli does not put syntax errors onto stderr.

PHP 7.0.12-1+deb.sury.org~trusty+1 (cli) ( NTS )

I had to make this change.

87 " Run the PHP linter to check for syntax errors 88 function! Phpqa#PhpLint() 89 if &filetype == "php" 90 if 0 != len(g:phpqa_php_cmd) 91 let l:bufNo = bufnr('%') 92 call s:RemoveSigns() 93 "let l:php_output=system(g:phpqa_php_cmd." -l ".@%." 1>/dev/null") 94 let l:php_output=system(g:phpqa_php_cmd." -l ".@%." ") 95 let l:php_list=split(l:php_output, "\n")

I think this also fixes the vim-fugitive problem.

markkimsal avatar Oct 29 '16 15:10 markkimsal