Marco Pivetta
Marco Pivetta
Good one indeed, but a bit messy to find recursively (indirect dependencies)
Must say that this feels like an excessive edge case. Most tooling will simply not working with such a weird setup, and I wouldn't expect them to work. On 16...
Then this is tech debt that needs resolution before pushing the problem to tooling. I have at least another 3 libraries which will just panic with your edge case. On...
@buffcode this tool only scans sources mapped in your `autoload` and/or `autoload-dev`
I suggest installing `maglnet/composer-require-checker` via `composer` in an isolated directory: this problem is caused by an outdated `nikic/php-parser` version in use inside the `.phar` release. Also see: * #140 *...
You can do following: ```sh mkdir -p tools/composer-require-checker cd tools/composer-require-checker echo "{}" > composer.json composer require maglnet/composer-require-checker cd - tools/composer-require-checker/vendor/bin/composer-require-checker ``` My endorsed approach would be to have a `composer.json`...
Also avoid `composer global`: it's just trouble.
> Mb docker image would be more simple to use? It would have the same problems of a `.phar` release, with the addition of multiple system-level CVEs on top of...
> Users would use smth like `docker run -v $PWD:/app $repo` and maintainers don't do anything, as dockerhub would update image automatically on tag or master(on your choice) Problem with...
I think what needs to happen in your case, is that `nikic/php-parser` needs to be initialized in PHP 7.4 mode. If you load `vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/GraphLookup/Match.php` (try `php vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/GraphLookup/Match.php` ), you will...