Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 7 Syntax Issue #45

Open
sancel22 opened this issue Sep 19, 2016 · 1 comment
Open

PHP 7 Syntax Issue #45

sancel22 opened this issue Sep 19, 2016 · 1 comment

Comments

@sancel22
Copy link

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

@okdewit
Copy link

okdewit commented Nov 7, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants