From a5d8d7433282f4aa8866b1ab6e89faea5421806d Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Fri, 14 Oct 2022 12:17:47 -0400 Subject: [PATCH] Added PHPCS and PHPMD config; added CI config --- composer.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5f0d69f..e555689 100644 --- a/composer.json +++ b/composer.json @@ -25,5 +25,9 @@ "require-dev": { "squizlabs/php_codesniffer": "^2.2", "phpmd/phpmd": "^2.5" - } + }, + "scripts": { + "phpcs": "phpcs --standard=./phpcs.xml", + "phpmd": "phpmd src/ text phpmd.xml" + }, }