vim-phpqa
vim-phpqa copied to clipboard
PHP 7 Syntax Issue
Hi I'm using php7 syntax like ??
for ternary operations but when I save the file it gave me this error.
Unexpected token: ??
What would be the solution for this??
Thank you
This vim plugin relies on phpmd/phpmd, which in turn relies on pdepend/pdepend.
Problem with those tools is that their release cycle is very slow (not ready for syntax valid in php 7.0 and later). You can try to install a development version of those libraries, although you most likely have to fork them so you can edit the composer.json.