Skip to content

Compatibility with phpmd 3.x #1209

@guvra

Description

@guvra

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?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions