From 46cd546df11b9a9c3d282352ec558116d94ead42 Mon Sep 17 00:00:00 2001 From: ShoheiTai Date: Sun, 9 Jun 2024 14:35:26 +0900 Subject: [PATCH] Add the utility commands --- composer.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f714748..490a78f 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,16 @@ } }, "scripts": { - "test": "phpunit" + "test": "phpunit", + "fix": "php-cs-fixer fix --config=.php-cs-fixer.php --diff --allow-risky=yes", + "analyse": "phpstan analyse -c phpstan.neon", + "md": "phpmd src ansi phpmd.xml", + "all-checks": [ + "@fix", + "@analyse", + "@md", + "@test" + ] }, "authors": [ {