Hi,
phpmd 2.x is not compatible with php 8.5. The phpmd maintainers recommend to use the 3.x-dev branch instead.
Unfortunately, GrumPHP is not compatible with this branch because the phpmd command was overhauled.
I might be able to provide a PR that adds support for this version, but I'm wondering how to implement it:
- Option 1: keep the current phpmd task untouched, add a new task for 3.x (what would be the name?)
- Option 2: refactor the current phpmd task to support both phpmd 2.x and 3.x (how to consistently detect the version? maybe an config option?)
Hi,
phpmd 2.x is not compatible with php 8.5. The phpmd maintainers recommend to use the
3.x-devbranch instead.Unfortunately, GrumPHP is not compatible with this branch because the
phpmdcommand was overhauled.I might be able to provide a PR that adds support for this version, but I'm wondering how to implement it: