From 5228aaa2424c3cf39e31bb4f909cc17fb90d8c77 Mon Sep 17 00:00:00 2001 From: Gertjan Krol Date: Mon, 29 May 2023 22:21:57 +0200 Subject: [PATCH] Add test command --- .forgejo/workflows/test.yaml | 4 +++- composer.json | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index ab44513..a050860 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -24,4 +24,6 @@ jobs: - name: composer security check run: composer security-check - name: composer unused package check - run: composer unused-check \ No newline at end of file + run: composer unused-check + - name: composer normalize check + run: compsoer normalize --dry-run \ No newline at end of file diff --git a/composer.json b/composer.json index ba5f33d..034c24f 100644 --- a/composer.json +++ b/composer.json @@ -69,7 +69,8 @@ "composer style", "composer require-check", "composer security-check", - "composer unused-check" + "composer unused-check", + "composer normalize --dry-run" ], "unit": "vendor/bin/phpunit --configuration phpunit.xml --colors=never", "unused-check": "vendor/bin/composer-unused"