php -l myfile.php return "No syntax errors detected in myfile.php" and show up in the quickfix window as an error.
The fix I made in autoload/phpqa.vim line 92
if 0 != len(l:php_list) && match(l:php_list,"No syntax errors") == -1
Thanks for your awesome plugin, very useful !
Hi, thanks for that, I'll test and integrate into the repo.
Incidentally, which version of PHP are you using?
Hi, any update on your PHP version? Just interested really.
When I run php -l <file.php> 1>/dev/null I get no output, but it seems your version spits "No syntax errors..." into standard error, which is confusing things.
php -l <file.php> 1>/dev/null
Your fix works fine for my version as well, so I'll put it in the master branch. Thanks
"No syntax errors" bug for some PHP versions, fixes #5