Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大量代码修型及可能的bug修正: #242

Merged
merged 1 commit into from Jul 7, 2022

Conversation

TheNorthMemory
Copy link
Contributor

  1. 遵循RFC6749规范,引入命名空间常量RFC6749_ABNF_*定义,从代码层面即可直观感受各Providers对规范的遵循度;
  2. 在抽象User类,引入命名空间常量ABNF_*定义,直观感受对各厂商的授权信息抽象;
  3. 在工厂抽象类中,引入命名空间常量ABNF_*定义,直观感受本LIB对RFC6749及厂商实现的抽象;
  4. 调优Psr\Http\Message\ResponseInterface::getBody()获取返回值可能引发的流偏移而拿不到返回文本的潜在问题;
  5. 使用相对路径的命名空间导入功能,对代码做了一点点修型;
  6. 扔掉了下游包抛送的异常注释,代码注释仅专注于本LIB抛送的异常定义;
  7. 支付宝&钉钉的scope拼接修型;
  8. BC: 大小写Exceptions\Feishu调整为Exceptions\FeiShu;
  9. BC: 部分抛送的异常调整为恰当类型;

1. 遵循`RFC6749`规范,引入命名空间常量`RFC6749_ABNF_*`定义,从代码层面即可直观感受各`Providers`对规范的遵循度;
2. 在抽象`User`类,引入命名空间常量`ABNF_*`定义,直观感受对各厂商的授权信息抽象;
3. 在工厂抽象类中,引入命名空间常量`ABNF_*`定义,直观感受本LIB对`RFC6749`及厂商实现的抽象;
4. 调优`Psr\Http\Message\ResponseInterface::getBody()`获取返回值可能引发的流偏移而拿不到返回文本的潜在问题;
5. 使用相对路径的命名空间导入功能,对代码做了一点点修型;
6. 扔掉了下游包抛送的异常注释,代码注释仅专注于本LIB抛送的异常定义;
7. 支付宝&钉钉的`scope`拼接修型;
8. BC: 大小写`Exceptions\Feishu`调整为`Exceptions\FeiShu`;
9. BC: 部分抛送的异常调整为恰当类型;
@overtrue overtrue merged commit be554a1 into overtrue:master Jul 7, 2022
@overtrue
Copy link
Owner

overtrue commented Jul 7, 2022

💘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants