From 10ed887663330bd9c73a26325f4f3b71095d3115 Mon Sep 17 00:00:00 2001 From: smiley Date: Sun, 17 Nov 2024 20:37:19 +0100 Subject: [PATCH] :octocat: +phpmd command --- composer.json | 1 + phpmd.xml.dist | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/composer.json b/composer.json index 90302cd2a..ce8054c52 100644 --- a/composer.json +++ b/composer.json @@ -87,6 +87,7 @@ "@php vendor/bin/phpbench run" ], "phpcs": "@php vendor/bin/phpcs", + "phpmd": "@php vendor/bin/phpmd src text ./phpmd.xml.dist", "phpstan": "@php vendor/bin/phpstan", "phpstan-baseline": "@php vendor/bin/phpstan --generate-baseline", "phpunit": "@php vendor/bin/phpunit" diff --git a/phpmd.xml.dist b/phpmd.xml.dist index 5342a8e6b..5c4946c8a 100644 --- a/phpmd.xml.dist +++ b/phpmd.xml.dist @@ -31,8 +31,12 @@ + + + +