wechatpay-apiv3/wechatpay-php

UriTemplate guzzle 版本<7.0存在, >=7.0没有UriTemplate,导致报错

Closed this issue · 2 comments

运行环境

- OS:Windows 11
- PHP:7.4.33
- wechatpay-php:master/1.4.8

描述你的问题现象

两个问题:

  1. guzzle库 >=7.0没有UriTemplate,导致报错
  2. ClientDecorator.php request和requestAsync里报错,尝试以静态方式调用UriTemplate的对象方法expand

问题复现:readme里下载证书代码

相关链接

在你的项目下,执行一下composer info命令,应能打印出类似如下依赖:

guzzlehttp/uri-template            v1.0.1  A polyfill class for uri_template of PHP

对应的项目是: https://github.com/guzzle/uri-template

在你的项目下,执行一下composer info命令,应能打印出类似如下依赖:

guzzlehttp/uri-template            v1.0.1  A polyfill class for uri_template of PHP

对应的项目是: https://github.com/guzzle/uri-template

谢谢,解决了。