Switch composer-unused back to phar

This commit is contained in:
Shivam Mathur 2022-12-01 04:45:59 +05:30
parent 173ca15c9b
commit 51f83e019c
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A
2 changed files with 9 additions and 6 deletions

View File

@ -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/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 "-V"',
'add_composertool composer-require-checker composer-require-checker maglnet/ scoped', '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_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_composertool flex flex symfony/ global',
'add_grpc_php_plugin 1.2.3', 'add_grpc_php_plugin 1.2.3',

View File

@ -7,6 +7,14 @@
"version_prefix": "", "version_prefix": "",
"version_parameter": "-V" "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": { "composer-normalize": {
"type": "phar", "type": "phar",
"repository": "ergebnis/composer-normalize", "repository": "ergebnis/composer-normalize",
@ -142,11 +150,6 @@
"repository": "maglnet/composer-require-checker", "repository": "maglnet/composer-require-checker",
"scope": "scoped" "scope": "scoped"
}, },
"composer-unused": {
"type": "composer",
"repository": "icanhazstring/composer-unused",
"scope": "scoped"
},
"flex": { "flex": {
"type": "composer", "type": "composer",
"repository": "symfony/flex", "repository": "symfony/flex",