我试图更新我的作曲家依赖关系,而作曲家无法解决我的要求。我试过更新rezzza / formulate和hoa / math,但我总是得到这个错误:
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
- rezzza/formulate v1.0.2 requires hoa/math dev-master -> satisfiable by hoa/math[dev-master].
- rezzza/formulate v1.0.2 requires hoa/math dev-master -> satisfiable by hoa/math[dev-master].
- Removal request for hoa/math == 9999999-dev
- Installation request for rezzza/formulate == 1.0.2.0 -> satisfiable by rezzza/formulate[v1.0.2].
这是我的Composer配置:
"require": {
"bernard/bernard": "~0.11",
"bshaffer/oauth2-server-php": "v1.5",
"doctrine/annotations": "~1.1",
"doctrine/cache": "~1.3",
"doctrine/collections": "v1.1",
"goodby/csv": "dev-master",
"guzzle/guzzle": "~3.7",
"herrera-io/date-interval": "~1.0",
"jms/serializer": "~0.13",
"kriswallsmith/buzz": "0.12",
"lexpress/doctrine1": "1.3.0",
"lexpress/symfony1": "1.5.3",
"merk/dough": "~1.1.4",
"misd/guzzle-bundle": "~1.0",
"monolog/monolog": "~1.7.0",
"namshi/notificator": "~1.0",
"parse/php-sdk": "~1.0.4",
"predis/predis": "dev-master",
"raven/raven": "~0.7.0",
"rezzza/formulate": "~1.0",
"symfony/console": "~2.4",
"symfony/security": "~2.5",
"symfony/templating": "~2.4",
"symfony/twig-bridge": "~2.4",
"symfony/validator": "~2.4",
"twig/twig": "1.*",
"willdurand/hateoas": "~2.1",
"willdurand/negotiation": "~1.2",
"yohang/finite": "~1.0",
"yzalis/ua-parser": "dev-browserscope-yml-support"
},
"require-dev": {
"phpunit/phpunit": "4.1.*"
},
"prefer-stable": true,
"autoload": {
"psr-4": {
"": "src/"
}
}
似乎移除请求是我的绊倒,但我甚至不确定这意味着什么。我还看到rezzza/formulate
库的两种不同版本格式:1.0.2和1.0.2.0 - 也许这也是一个问题?
答案 0 :(得分:0)
我运行composer update rezzza/formulate
,这解决了我的安装要求问题。