Closed videni closed 7 years ago
omnipay/common
最新版本是2.5.1
, 它是支持 symfony3
的(见 L32)
请执行composer update lokielse/omnipay-wechatpay
更新依赖
But the "guzzle/guzzle": "~3.9" requires "symfony/event-dispatcher": "~2.1", this is the problem
的确,"guzzle/guzzle": "~3.9"
依赖"symfony/event-dispatcher": "~2.1"
如果你的项目是确切的依赖"symfony/event-dispatcher": "~3.0"
那就没办法了
一般是symfony/http-kernel
需要依赖symfony/event-dispatcher
, 但是依赖规则里面写的是"symfony/event-dispatcher": "~2.8|~3.0"
, 所以这样也是可以安装的
你把"lokielse/omnipay-wechatpay": "^1.0.19"
加入到依赖里面,再执行composer update -vvv
, 如果不行就真的是不行的,只有找omnipay/common
的作者来更新了
We use this package with our Symfony 3 project, the package "omnipay/common" is dependent on "symfony/event-dispatcher" 2 version, which will conflict with same package in Symfony3, Please update the dependency to version 3, thanks a lot.