Por exemplo, quero exigir:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/google/google-api-php-client.git"
}
],
"require": {
"google/apiclient": "v1-master"
}
}
Neste exemplo, eu tento require google/apiclient
no branch v1-master
. Eu recebo o erro:
[UnexpectedValueException]
Could not parse version constraint v1-master: Invalid version string "v1-master"