openapi-sdk-php-client
openapi-sdk-php-client copied to clipboard
Official repository of the Alibaba Cloud Client for PHP
##### You need to complete - [ ] unit tests and/or feature tests - [ ] documentation is changed or added
依赖库版本太老
**Is your feature request related to a problem? Please describe.** 依赖库clagiordano/weblibs-configmanager依赖的symfony/yaml ^2.8版本太老了,并且在SDK中并不需要依赖yaml。 src/Config/Config.php 中使用了ConfigManager对象,看了clagiordano/weblibs-configmanager的源代码ConfigManager对象不需要依赖symfony/yaml,只有YamlConfigManager才需要依赖symfony/yaml,所以SDK并不需要yaml扩展。 **Describe the solution you'd like** 如果clagiordano/weblibs-configmanager无法更新的话希望替换掉这个依赖。 **Describe alternatives you've considered** 我暂时fork了clagiordano/weblibs-configmanager,修改了symfony/yaml 的版本,然后再主项目的composer.json使用replace替换为fork的版本。
* **PHP 版本**:8.1.4 * **平台**:macOS * **产品名称**:STS * **产品版本**:2015-04-01 * **API**:GetCallerIdentity/AssumeRole ``` PHP Deprecated: Return type of AlibabaCloud\Client\Request\Request::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute...
- [x] unit tests and/or feature tests - [x] documentation is changed or added For https://github.com/aliyun/openapi-sdk-php/issues/157
Specified parameter Version is not valid. 每次都报错这个. 具体的版本号 产品名称 在哪里查????
\AlibabaCloud\Client\Result\Result::resolveData 函数中使用 ```php $content = $this->getBody()->getContents(); ``` 这个方法当 body 被输出过就只能获取到空字符串,应该使用 `(string) $this->getBody()`
不是害人么,你更改了使用类名跟方法难点不知道换个大版本号或者新建分支么,这么大的一个厂犯这种错么?我说怎么composer了一下视频啥的一直报错呢,另外,在文档中给建议安装语句的时候带上版本号约束
##### You need to complete - [ ] unit tests and/or feature tests - [ ] documentation is changed or added
##### You need to complete - [ ] unit tests and/or feature tests - [ ] documentation is changed or added