Closed crevillo closed 6 years ago
Thanks for the the report.
PHP-Parser 4 requires PHP 7 and that in turn would require to raise the minimum PHP version of phpDox. So for now, that is sadly a won't fix.
For details on this check #328.
not even telling composer to allow it to download php-parser 4 and also php-parser 3.1? like in https://github.com/crevillo/phpdox/blob/master/composer.json#L27
thanks.
As is allowed for a major version, the API changed between 3.x and 4.x.
I admit I didn't verify if phpDox would be affected but the list of changes is quite long according to the Upgrading guide of PHP-Parser.
Again, tools should not be installed via composer.
Hello, i'm using phpdox for some of my projects. In the last one i'm trying to add it, i'm using symfony 4.1. problem is i have a deps issue. here's the output of my composer command...
This php-parser requirement comes from the symfony/maker-bundle package which we need too.
https://github.com/symfony/maker-bundle/blob/v1.7.0/composer.json#L17
So, the question. would it be possible to add nikic/php-parser 4 also in the composer? i can make a pr if you want.
thanks.