Open thinkspill opened 8 years ago
Confirming this is still an issue.
Use the fork: https://github.com/dirx/Mondrian/tree/php7-support
@mambax7 have you considered sending a PR here?
It's not my fork...
As this is an issue as of PHP 7.0, an option is to use XAMPP with PHP v6.
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: https://github.com/nikic/PHP-Parser/issues/182#issuecomment-109368749
Would it be possible to update to at least v1.3 of
nikic/php-parser
?Thanks!
Ian