Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overtrue/wechat和phpdoc包依赖冲突。 #605

Closed
kelvinblood opened this issue Mar 4, 2017 · 2 comments
Closed

overtrue/wechat和phpdoc包依赖冲突。 #605

kelvinblood opened this issue Mar 4, 2017 · 2 comments

Comments

@kelvinblood
Copy link

kelvinblood commented Mar 4, 2017

我用的环境

PHP 版本:
overtrue/wechat 版本:3.*

问题及现象

依赖冲突。composer.json中这么设置:

"phpdocumentor/phpdocumentor": "2.*",
"overtrue/wechat": "3.*"

以下是详细输出。我在看,还在找怎么处理。

Your requirements could not be resolved to an installable set of packages.

Problem 1
- phpdocumentor/phpdocumentor v2.3.1 requires dompdf/dompdf dev-master@dev -> satisfiable by dompdf/dompdf[dev-master] but these conflict with your requirements or minimum-stability.
- phpdocumentor/phpdocumentor v2.3.0 requires dompdf/dompdf dev-master@dev -> satisfiable by dompdf/dompdf[dev-master] but these conflict with your requirements or minimum-stability.
- Conclusion: remove cilex/cilex 1.1.0
- Conclusion: don't install overtrue/wechat 3.2.5
- Conclusion: don't install overtrue/wechat 3.2.4
- Conclusion: don't install overtrue/wechat 3.2.3
- Conclusion: don't install overtrue/wechat 3.2.2
- Conclusion: don't install overtrue/wechat 3.2.1
- Conclusion: don't install overtrue/wechat 3.2.0
- Conclusion: don't install overtrue/wechat 3.1.9
- Conclusion: don't install overtrue/wechat 3.1.8
- Conclusion: don't install overtrue/wechat 3.1.7
- Conclusion: don't install overtrue/wechat 3.1.6
- Conclusion: don't install overtrue/wechat 3.1.5
- Conclusion: don't install overtrue/wechat 3.1.4
- Conclusion: don't install overtrue/wechat 3.1.3
- Conclusion: don't install overtrue/wechat 3.1.2
- Conclusion: don't install overtrue/wechat 3.1.1
- Conclusion: don't install overtrue/wechat 3.1.0
- Conclusion: don't install overtrue/wechat 3.0.21
- Conclusion: don't install overtrue/wechat 3.0.1
- Conclusion: don't install pimple/pimple v3.0.2
- Conclusion: remove phpdocumentor/phpdocumentor v2.9.0
- Conclusion: don't install phpdocumentor/phpdocumentor v2.9.0
- Installation request for overtrue/wechat 3.* -> satisfiable by overtrue/wechat[3.0, 3.0.1, 3.0.21, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.1.8, 3.1.9, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5].
- phpdocumentor/phpdocumentor v2.8.5 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.8.4 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.8.3 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.8.2 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.8.1 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.8.0 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.7.1 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.7.0 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.6.1 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.6.0 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.5.0 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.4.0 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.3.2 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.2.0 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.1.0 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.0.1 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- phpdocumentor/phpdocumentor v2.0.0 requires cilex/cilex ~1.0 -> satisfiable by cilex/cilex[1.1.0, 1.0.0, 1.0.1].
- cilex/cilex 1.0.0 requires pimple/pimple 1.0.* -> satisfiable by pimple/pimple[1.0.0, v1.0.1, v1.0.2].
- cilex/cilex 1.0.1 requires pimple/pimple 1.0.* -> satisfiable by pimple/pimple[1.0.0, v1.0.1, v1.0.2].
- cilex/cilex 1.1.0 requires pimple/pimple ~1.0 -> satisfiable by pimple/pimple[v1.1.1, 1.0.0, v1.0.1, v1.0.2, v1.1.0].
- Can only install one of: pimple/pimple[v3.0.0, v1.1.1].
- Can only install one of: pimple/pimple[v3.0.0, 1.0.0].
- Can only install one of: pimple/pimple[v3.0.0, v1.0.1].
- Can only install one of: pimple/pimple[v3.0.0, v1.0.2].
- Can only install one of: pimple/pimple[v3.0.0, v1.1.0].
- Can only install one of: pimple/pimple[v3.0.0, v1.1.1].
- overtrue/wechat 3.0 requires pimple/pimple ~3.0 -> satisfiable by pimple/pimple[v3.0.0, v3.0.1, v3.0.2].
- Conclusion: don't install pimple/pimple v3.0.1
- Installation request for phpdocumentor/phpdocumentor 2.* -> satisfiable by phpdocumentor/phpdocumentor[v2.0.0, v2.0.1, v2.1.0, v2.2.0, v2.3.0, v2.3.1, v2.3.2, v2.4.0, v2.5.0, v2.6.0, v2.6.1, v2.7.0, v2.7.1, v2.8.0, v2.8.1, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.9.0].

@kelvinblood
Copy link
Author

跟冲突相关的是这三个包

dompdf 2.3.*
cilex
pimple v.0.*

phpdoc的直接依赖是cilex要求高于 1.0,其他的都是相关依赖。
wechat的直接依赖是 pimple 高于3.0,其他的都是相关依赖。

@kelvinblood kelvinblood changed the title 你好,overtrue/wechat和phpdoc包依赖冲突了。 overtrue/wechat和phpdoc包依赖冲突。 Mar 4, 2017
@kelvinblood
Copy link
Author

嗯,找到相关解决办法了。是phpdoc中pimple的依赖问题。

phpDocumentor/phpDocumentor#1738

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant