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

Add support for PHP 7.1 #99

Closed
vincentchalamon opened this issue Dec 27, 2016 · 2 comments
Closed

Add support for PHP 7.1 #99

vincentchalamon opened this issue Dec 27, 2016 · 2 comments

Comments

@vincentchalamon
Copy link

PHP 7.1 is stable since December 1st, and gives a lot of enhancements. I.e., it allows to add a ? on method return type to allow null or type (?string).

php7cc ran on a PHP7.1 project throw following errors:

> Syntax error, unexpected '?' on line 22. Processing aborted.
@sstalle
Copy link
Owner

sstalle commented Dec 27, 2016

It's the same issue as #79. php7cc needs to be upgraded to use PHP-Parser 3. Unfortunately I can't dedicate much time to this project now and I can't give an ETA, but I'm open to pull requests.

@vincentchalamon
Copy link
Author

Duplicate from #79

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