From a541a60bc9a9a199e4553b49b5ca5d72e4ce6214 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Wed, 8 Jan 2025 20:12:22 +0530 Subject: [PATCH] Fix composer normalize version [skip ci] --- __tests__/tools.test.ts | 2 +- src/configs/tools.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/tools.test.ts b/__tests__/tools.test.ts index 4a20a2fc..fbcc1982 100644 --- a/__tests__/tools.test.ts +++ b/__tests__/tools.test.ts @@ -441,7 +441,7 @@ describe('Tools tests', () => { 'add_blackfire', 'add_tool https://get.blackfire.io/blackfire-player-v1.22.0.phar blackfire-player "-V"', '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_tool https://github.com/ergebnis/composer-normalize/releases/latest/download/composer-normalize.phar composer-normalize "diagnose"', 'add_composer_tool composer-dependency-analyser composer-dependency-analyser shipmonk/ scoped', 'add_composer_tool composer-require-checker composer-require-checker maglnet/ scoped', 'add_tool https://github.com/composer-unused/composer-unused/releases/latest/download/composer-unused.phar composer-unused "-V"', diff --git a/src/configs/tools.json b/src/configs/tools.json index 396bb5be..2c760db0 100644 --- a/src/configs/tools.json +++ b/src/configs/tools.json @@ -35,7 +35,7 @@ "extension": ".phar", "domain": "https://github.com", "version_prefix": "", - "version_parameter": "-V" + "version_parameter": "diagnose" }, "cs2pr": { "type": "phar",