From 728b90892310669601ad65773c2b9a984802c486 Mon Sep 17 00:00:00 2001 From: Any97Cris Date: Thu, 22 Feb 2024 12:12:59 -0400 Subject: [PATCH] adjust phpunit file Signed-off-by: Any97Cris --- composer.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 2b27668..152ca4d 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,14 @@ "cs:fix": "phpcbf --standard=PSR12 -n src tests/Unit", "test:unit": "phpunit --no-coverage", "test:coverage": "XDEBUG_MODE=coverage phpunit", - "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -print0 | xargs -0 -n1 php -l" + "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -print0 | xargs -0 -n1 php -l", + "post-install-cmd": [ + "@composer bin all install --ansi", + "composer dump-autoload" + ], + "post-update-cmd": [ + "composer dump-autoload" + ] }, "config": { "allow-plugins": {