例如,我想要求:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/google/google-api-php-client.git"
}
],
"require": {
"google/apiclient": "v1-master"
}
}
在此示例中,我尝试google/apiclient
在branch上执行require v1-master
。我得到错误:
[UnexpectedValueException]
Could not parse version constraint v1-master: Invalid version string "v1-master"