From 48a6d1adee7a7ce45b5b428cabbd33d6bc424ed6 Mon Sep 17 00:00:00 2001 From: Damien Harper Date: Thu, 22 Sep 2022 11:56:38 +0200 Subject: [PATCH] Add composer script to update dev tools --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index cef1d43..0eaaca4 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,8 @@ "csfixer": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --using-cache=no --verbose --ansi", "cs-check": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --using-cache=no --verbose --ansi --dry-run", "phpstan": "tools/phpstan/vendor/bin/phpstan --ansi analyse src", - "rector": "tools/rector/vendor/bin/rector process src" + "rector": "tools/rector/vendor/bin/rector process src", + "update-tools": "composer update --working-dir=tools/php-cs-fixer ; composer update --working-dir=tools/phpstan ; composer update --working-dir=tools/rector" }, "config": { "sort-packages": true,