Switch to phar releases for phpspec

This commit is contained in:
Shivam Mathur 2021-12-29 20:17:24 +05:30
parent 75988cd9be
commit 7789b4e03e
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A
2 changed files with 9 additions and 5 deletions

View File

@ -435,7 +435,7 @@ describe('Tools tests', () => {
'add_tool https://github.com/phpDocumentor/phpDocumentor/releases/latest/download/phpDocumentor.phar phpDocumentor "--version"',
'add_devtools phpize',
'add_tool https://github.com/phpmd/phpmd/releases/latest/download/phpmd.phar phpmd "--version"',
'add_composertool phpspec phpspec phpspec/',
'add_tool https://github.com/phpspec/phpspec/releases/latest/download/phpspec.phar phpspec "-V"',
'add_composertool phpunit-bridge phpunit-bridge:5.6.* symfony/',
'add_composertool phpunit-polyfills phpunit-polyfills:1.0.1 yoast/',
'add_protoc 1.2.3',

View File

@ -81,6 +81,14 @@
"version_prefix": "",
"version_parameter": "--version"
},
"phpspec": {
"type": "phar",
"repository": "phpspec/phpspec",
"extension": ".phar",
"domain": "https://github.com",
"version_prefix": "",
"version_parameter": "-V"
},
"phpstan": {
"type": "phar",
"repository": "phpstan/phpstan",
@ -130,10 +138,6 @@
"type": "composer",
"repository": "overtrue/phplint"
},
"phpspec": {
"type": "composer",
"repository": "phpspec/phpspec"
},
"phpunit-bridge": {
"alias": "simple-phpunit",
"type": "composer",