overtrue / easy-sms

📲 一款满足你的多种发送需求的短信发送轮子
MIT License
3.13k stars 547 forks source link

阿里云在thinkphp8提示http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated #360

Open indiboy opened 4 months ago

indiboy commented 4 months ago

http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated

indiboy commented 4 months ago

暂时修改了,解决了。 vendor guzzlehttp guzzle src Client.php

overtrue commented 4 months ago

哪个文件?

indiboy commented 4 months ago

vendor->guzzlehttp->guzzle->src->Client.php 里面有个 http_build_query,把null改成'',好像是因为参数不能是null。忘记了

overtrue commented 4 months ago

可是,这是 guzzle 的代码不是这个包的代码哇