英文:
composer why: what does this output means?
问题
这是什么意思?你能解释一下吗?
php-http/client-common
是 PHP-HyperText Transfer Protocol(HTTP)客户端的通用包。sentry/sentry
版本 3.17.0 要求可以兼容 php-http/client-common
的版本为 (^1.5|^2.0)。然而,该版本与 php-http/client-common
版本 1.8.0 冲突,因此可能会导致问题。
英文:
λ composer why php-http/client-common
sentry/sentry 3.17.0 requires php-http/client-common (^1.5|^2.0)
sentry/sentry 3.17.0 conflicts php-http/client-common (1.8.0)
What does this mean? Could you please explain?
In which way, sentry/sentry
could require two times the same package (php-http/client-common
)?
答案1
得分: 1
composer why
/ depends
命令 的输出并未反映出 sentry/sentry
重复需要该包,而是需要一个特定版本范围(第一行是 ^1.5|^2.0
),并且与不同版本(1.8.0)冲突。
请查看 sentry/sentry
存储库以获取更多详细信息。此冲突是在拉取请求中添加的,超过四年前,具体描述如下:
> 在 #658 中,我发现了与 php-http/client-common 1.8.0 有关的问题,具体是 php-http/client-common#109。有问题的代码现已还原,因此我们可以将冲突约束减小到仅有问题的版本。
英文:
The output of the composer why
/ depends
command you've shared does not reflect that sentry/sentry
requires the package twice, but that it requires a specific range of versions (which is ^1.5|^2.0
in the first line), and that it conflicts with a different set of versions (which is 1.8.0
).
Have a look at the repository of sentry/sentry
for more details. The conflict has been added in a pull request more than four years ago with the following description:
> In #658 I did found an issue with php-http/client-common 1.8.0, precisely php-http/client-common#109. The problematic code is now reverted, so we can reduce the conflict constraint to the only bugged version.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论