【发布时间】:2015-11-26 08:01:42
【问题描述】:
我正在尝试安装hslavich/SimplesamlphpBundle。由于此捆绑包与simplesamlphp/simplesamlphp v1.13.2 存在依赖性问题,因此我将forked the repository 改为需要dev-master。
现在我相应地修改了我的 Symfony2 的项目 composer.json,以便需要我的分叉包而不是原始包:
{
...
"require": {
...
"hslavich/simplesamlphp-bundle": "dev-master"
},
...
"repositories": [
{
"type": "vcs",
"url": "git@github.com:saxid/SimplesamlphpBundle.git"
}
]
}
但我仍然收到与未使用分叉一样的错误消息:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- simplesamlphp/simplesamlphp v1.13.2 requires openid/php-openid dev-master#ee669c6a9d4d95b58ecd9b6945627276807694fb as 2.2.2 -> no matching package found.
- simplesamlphp/simplesamlphp v1.13.1 requires openid/php-openid dev-master#ee669c6a9d4d95b58ecd9b6945627276807694fb as 2.2.2 -> no matching package found.
- simplesamlphp/simplesamlphp v1.13.0 requires openid/php-openid dev-master#ee669c6a9d4d95b58ecd9b6945627276807694fb as 2.2.2 -> no matching package found.
- hslavich/simplesamlphp-bundle dev-master requires simplesamlphp/simplesamlphp ~1.13 -> satisfiable by simplesamlphp/simplesamlphp[v1.13.0, v1.13.1, v1.13.2].
- Installation request for hslavich/simplesamlphp-bundle dev-master -> satisfiable by hslavich/simplesamlphp-bundle[dev-master].
我必须在composer.json 中修改什么才能要求我的分叉?
【问题讨论】:
标签: git symfony github composer-php