From 0382c0bd9caf6c5c680d53837951a702debcff4f Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 1 Sep 2022 10:58:32 +0900 Subject: [PATCH 1/2] chore: update composer scripts --- composer.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 87c03c6..c0eff91 100644 --- a/composer.json +++ b/composer.json @@ -58,15 +58,16 @@ "Composer\\Config::disableProcessTimeout", "@cs", "@deduplicate", - "@inspect", "@analyze", + "@inspect", "@test" ], "cs": "php-cs-fixer fix --ansi --verbose --dry-run --diff", - "cs-fix": "php-cs-fixer fix --ansi --verbose --diff --using-cache=yes", + "cs-fix": "php-cs-fixer fix --ansi --verbose --diff", "style": "@cs-fix", "deduplicate": "phpcpd app/ src/", "inspect": "deptrac analyze --cache-file=build/deptrac.cache", - "mutate": "infection --threads=2 --skip-initial-tests --coverage=build/phpunit" + "mutate": "infection --threads=2 --skip-initial-tests --coverage=build/phpunit", + "test": "phpunit" } } From 600a725fe8d4975e9aa36aabb27cc565112c33be Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 2 Sep 2022 07:54:04 +0900 Subject: [PATCH 2/2] chore: move @inspect before @analyze --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c0eff91..e16eff1 100644 --- a/composer.json +++ b/composer.json @@ -58,8 +58,8 @@ "Composer\\Config::disableProcessTimeout", "@cs", "@deduplicate", - "@analyze", "@inspect", + "@analyze", "@test" ], "cs": "php-cs-fixer fix --ansi --verbose --dry-run --diff",