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

Cannot use 'PhpParser\Node\Scalar\String' as class name as it is reserved in phar://... #39

Open
thinkspill opened this issue Apr 22, 2016 · 5 comments

Comments

@thinkspill
Copy link

Hello!

It appears you have an older version of nikic/php-parser as a dependency. Versions earlier than 1.3 cause the following error under PHP 7:

PHP Fatal error: Cannot use 'PhpParser\Node\Scalar\String' as class name as it is reserved in phar:///usr/local/bin/mondrian.phar/vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php on line 86

More info: nikic/PHP-Parser#182 (comment)

Would it be possible to update to at least v1.3 of nikic/php-parser?

Thanks!

Ian

@EmperorArthur
Copy link

Confirming this is still an issue.

@mambax7
Copy link

mambax7 commented Jun 3, 2017

Use the fork:
https://github.com/dirx/Mondrian/tree/php7-support

@jakzal
Copy link

jakzal commented Jul 19, 2017

@mambax7 have you considered sending a PR here?

@mambax7
Copy link

mambax7 commented Jul 19, 2017

It's not my fork...

@BurninLeo
Copy link

As this is an issue as of PHP 7.0, an option is to use XAMPP with PHP v6.

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

5 participants