Skip to content

Commit

Permalink
Switch composer-unused back to phar
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Nov 30, 2022
1 parent 173ca15 commit 51f83e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion __tests__/tools.test.ts
Expand Up @@ -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',
Expand Down
13 changes: 8 additions & 5 deletions src/configs/tools.json
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 51f83e0

Please sign in to comment.