但是,当我执行时,我正在尝试安装的dev-master
版本:phpdocumentor/phpdocumentor
composer require --dev phpdocumentor/phpdocumentor dev-master
我收到以下问题:
Problem 1
- phpdocumentor/phpdocumentor dev-master requires phpdocumentor/reflection-docblock ~2.0 -> satisfiable by phpdocumentor/reflection-docblock[2.0.0, 2.0.0a1, 2.0.0a2, 2.0.0a3, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5] but these conflict with your requirements or minimum-stability.
- phpdocumentor/phpdocumentor dev-master requires phpdocumentor/reflection-docblock ~2.0 -> satisfiable by phpdocumentor/reflection-docblock[2.0.0, 2.0.0a1, 2.0.0a2, 2.0.0a3, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5] but these conflict with your requirements or minimum-stability.
- Installation request for phpdocumentor/phpdocumentor dev-master -> satisfiable by phpdocumentor/phpdocumentor[dev-master].
我的作曲家配置是:
"minimum-stability" : "dev",
"prefer-stable" : false,
"require":{
"phpdocumentor/reflection-docblock" : "4.3.0",
}
我遇到的问题是我当前的phpdocumentor/reflection-docblock
版本是4.3.0
.
当我尝试执行此操作时:
php composer.phar require phpdocumentor/reflection-docblock:~2.0
然后我得到一个问题:
Problem 1
- felixfbecker/advanced-json-rpc v3.0.1 requires phpdocumentor/reflection-docblock ^4.0.0 -> satisfiable by phpdocumentor/reflection-docblock[4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.2.0, 4.3.0] but these conflict with your requirements or minimum-stability.
- felixfbecker/advanced-json-rpc v3.0.1 requires phpdocumentor/reflection-docblock ^4.0.0 -> satisfiable by phpdocumentor/reflection-docblock[4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.2.0, 4.3.0] but these conflict with your requirements or minimum-stability.
- felixfbecker/advanced-json-rpc v3.0.1 requires phpdocumentor/reflection-docblock ^4.0.0 -> satisfiable by phpdocumentor/reflection-docblock[4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.2.0, 4.3.0] but these conflict with your requirements or minimum-stability.
- felixfbecker/advanced-json-rpc v3.0.1 requires phpdocumentor/reflection-docblock ^4.0.0 -> satisfiable by phpdocumentor/reflection-docblock[4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.2.0, 4.3.0] but these conflict with your requirements or minimum-stability.
- Installation request for felixfbecker/advanced-json-rpc (locked at v3.0.1) -> satisfiable by felixfbecker/advanced-json-rpc[v3.0.1].
我不太确定如何解决这个依赖问题。我应该只下载源代码吗?