Use composer for composer-require-checker

This commit is contained in:
Shivam Mathur 2021-07-11 05:01:12 +05:30
parent 7eec3d790d
commit 1a216636c5
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A
2 changed files with 5 additions and 9 deletions

View File

@ -370,7 +370,7 @@ describe('Tools tests', () => {
'add_blackfire',
'add_tool https://get.blackfire.io/blackfire-player.phar blackfire-player "-V"',
'add_tool https://github.com/ergebnis/composer-normalize/releases/latest/download/composer-normalize.phar composer-normalize "-V"',
'add_tool https://github.com/maglnet/ComposerRequireChecker/releases/latest/download/composer-require-checker.phar composer-require-checker "-V"',
'add_composertool composer-require-checker composer-require-checker maglnet/',
'add_composertool composer-unused composer-unused icanhazstring/',
'add_tool https://github.com/staabm/annotate-pull-request-from-checkstyle/releases/download/1.2.3/cs2pr cs2pr "-V"',
'add_composertool flex flex symfony/',

View File

@ -7,14 +7,6 @@
"version_prefix": "",
"version_parameter": "-V"
},
"composer-require-checker": {
"type": "phar",
"repository": "maglnet/ComposerRequireChecker",
"extension": ".phar",
"domain": "https://github.com",
"version_prefix": "",
"version_parameter": "-V"
},
"cs2pr": {
"type": "phar",
"repository": "staabm/annotate-pull-request-from-checkstyle",
@ -100,6 +92,10 @@
"alias": "composer-prefetcher",
"repository": "narrowspark/automatic-composer-prefetcher"
},
"composer-require-checker": {
"type": "composer",
"repository": "maglnet/composer-require-checker"
},
"composer-unused": {
"type": "composer",
"repository": "icanhazstring/composer-unused"