我收到所需包phpmd/phpmd
的版本冲突,我不确定为什么无法解析通用版本。
运行composer require yvoronoy/magento2-bash-completion
会产生......
Problem 1
- Installation request for yvoronoy/magento2-bash-completion ^1.0@beta -> satisfiable by yvoronoy/magento2-bash-completion[1.0.0-beta].
- Conclusion: remove phpmd/phpmd 2.4.3
- Conclusion: don't install phpmd/phpmd 2.4.3
- yvoronoy/magento2-bash-completion 1.0.0-beta requires phpmd/phpmd 2.3.* -> satisfiable by phpmd/phpmd[2.3.0, 2.3.1, 2.3.2, 2.3.3].
- Can only install one of: phpmd/phpmd[2.3.0, 2.4.3].
- Can only install one of: phpmd/phpmd[2.3.1, 2.4.3].
- Can only install one of: phpmd/phpmd[2.3.2, 2.4.3].
- Can only install one of: phpmd/phpmd[2.3.3, 2.4.3].
- Installation request for phpmd/phpmd (locked at 2.4.3, required as @stable) -> satisfiable by phpmd/phpmd[2.4.3].
我的主要应用composer.json
有以下内容。
{
"minimum-stability": "alpha",
"require-dev": {
"phpmd/phpmd": "@stable",
}
}
yvoronoy/magento2-bash-completion
有自己的composer.json
,其中包含以下内容。
{
"minimum-stability": "stable",
"require": {
"phpmd/phpmd": "2.3.*",
}
}
查看Github页面(https://github.com/phpmd/phpmd),phpmd/phpmd
的版本不应该由2.3.3
解析为composer.json
,因为该版本已被标记(即稳定)在github?