diff --git a/__tests__/tools.test.ts b/__tests__/tools.test.ts index 35f9227a..dfb0749a 100644 --- a/__tests__/tools.test.ts +++ b/__tests__/tools.test.ts @@ -421,7 +421,7 @@ describe('Tools tests', () => { 'add_tool https://github.com/bmitch/churn-php/releases/latest/download/churn.phar churn "-V"', 'add_tool https://github.com/ergebnis/composer-normalize/releases/latest/download/composer-normalize.phar composer-normalize "-V"', 'add_composertool composer-require-checker composer-require-checker maglnet/ scoped', - 'add_composertool composer-unused composer-unused icanhazstring/ scoped', + 'add_tool https://github.com/composer-unused/composer-unused/releases/latest/download/composer-unused.phar composer-unused "-V"', 'add_tool https://github.com/staabm/annotate-pull-request-from-checkstyle/releases/download/1.2.3/cs2pr cs2pr "-V"', 'add_composertool flex flex symfony/ global', 'add_grpc_php_plugin 1.2.3', diff --git a/src/configs/tools.json b/src/configs/tools.json index 1cef4139..5cefede2 100644 --- a/src/configs/tools.json +++ b/src/configs/tools.json @@ -7,6 +7,14 @@ "version_prefix": "", "version_parameter": "-V" }, + "composer-unused": { + "type": "phar", + "repository": "composer-unused/composer-unused", + "extension": ".phar", + "domain": "https://github.com", + "version_prefix": "", + "version_parameter": "-V" + }, "composer-normalize": { "type": "phar", "repository": "ergebnis/composer-normalize", @@ -142,11 +150,6 @@ "repository": "maglnet/composer-require-checker", "scope": "scoped" }, - "composer-unused": { - "type": "composer", - "repository": "icanhazstring/composer-unused", - "scope": "scoped" - }, "flex": { "type": "composer", "repository": "symfony/flex",