johnatas-x / grumphp-phpmd3
There is no license information available for the latest version (2.22.1) of this package.
GrumPHP extension based on guvra's work to support PHPMD 3.x
2.22.1
2026-06-27 14:48 UTC
Requires
- phpmd/phpmd: 3.x-dev#2a9217f60aaf27bf6ddad9188f254d020ab70745
- phpro/grumphp: 2.22.0
README
This repository allows you to use guvra's work to add support for PHPMD 3.x in GrumPHP.
For more context, see the related issue phpro/grumphp#1209 and the associated pull request phpro/grumphp#1210.
Installation
Install it using composer:
composer require --dev johnatas-x/grumphp-phpmd3
Usage
- Add the extension in your grumphp.yml file:
extensions: - GrumphpPhpMd3\ExtensionLoader
- Add phpmd3 to the tasks:
tasks:
phpmd3:
whitelist_patterns: []
exclude: []
report_format: text
ruleset: ['phpmd.xml.dist']
triggered_by: ['php']