Skip to content

[pull] master from yansongda:master#25

Open
pull[bot] wants to merge 241 commits into
zc0570:masterfrom
yansongda:master
Open

[pull] master from yansongda:master#25
pull[bot] wants to merge 241 commits into
zc0570:masterfrom
yansongda:master

Conversation

@pull

@pull pull Bot commented Mar 5, 2022

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

refactor: 去掉 phpdi 依赖 #573
refactor: 完全支持 psr/container 标准 #574
feat: 自动识别 laravel, hyperf, thinkphp 的 container #577
fix: laravel项目安装失败 #571
feat: 兼容 php8.1 解决 deprecated #582
@pull pull Bot added the ⤵️ pull label Mar 5, 2022
yansongda and others added 28 commits March 6, 2022 13:09
* fix: alipay 中 event dispatch provider 是 wechat 的问题

* changelog
* feat: 追加初始化第三方应用授权token

* feat: 配置文件增加 app_auth_token 参数,并支持每个请求自定义

Co-authored-by: yansongda <me@yansongda.cn>
* feat: 支持微信投诉API

* tests
* feat: 微信服务商退款及查询退款支持自动 sub_mchid 参数

* tests: fix unit tests
* fix: 微信注释中返回类型错误

* fix: 微信注释中返回类型错误
* fixed: 公众号支付供应商模式 sub_appid 非必填
* refactor: 优化代码

Co-authored-by: BranchZero Sun <branchzero@elemenx.com>
Co-authored-by: yansongda <me@yansongda.cn>
* fix: 提前读取响应数据造成验签错误的问题
* fix: 提前读取响应数据造成数据错误的问题
fix: 微信服务商模式预下单存在子商户appid时,invoke 时也应该为子商户 appid

Co-authored-by: yansongda <me@yansongda.cn>
* fixed: 微信代金券详情插件

* tests

Co-authored-by: yansongda <me@yansongda.cn>
yansongda and others added 30 commits April 16, 2026 02:06
* refactor(v3.8): 迁移 Wechat Plugin 使用 WechatTrait 方法

* fix: 修复代码风格问题(use 语句排序和空行)
…1145)

* refactor(v3.8): 清理收尾 - ServiceProvider继承、删除Functions.php、更新CHANGELOG

* fix: 修复代码风格问题并删除 FunctionTest.php

* fix: 修复测试文件中遗留的函数引用
- 测试文件通过 Stub 类调用 Trait 方法
- Trait 内部使用 static:: 代替 self:: 调用
- 删除未使用的 ProviderConfigTrait import
- @algolia/client-* 5.50.1 → 5.50.2
- @algolia/abtesting 1.16.1 → 1.16.2
- postcss 8.5.9 → 8.5.10
* chore: 更新 AGENTS.md 和 skills 文件

AGENTS.md:
- 删除不存在的 Functions.php,改为 Trait 方法
- 更新核心架构描述为通用骨架
- 添加 Stripe 到支持列表和安全表格
- 更新命名约定添加 Trait 格式
- 新增 Provider 步骤改为 Trait 方法

pr-review-provider/SKILL.md:
- 删除重复内容(第310-400行与新 Phase 结构重复)
- 整合 GitHub Copilot 行内评论建议
  - 插件管道改为通用骨架 + Provider 差异表格
  - Functions.php 改为 Trait 方法
  - array_filter 改为 filter_params 推荐
  - 数组回调验签说明更新
- 按 Phase 组织审查流程

container-dev/SKILL.md:
- 添加快速参考表格
- 明确 cs-fix 仅检查不修复
- 添加 Web 文档开发命令
- 简化命令模板结构

* chore: 删除 AGENTS.md 过期的元数据头部

* fix: 修复 GitHub Copilot 行内评论建议的问题

- pr-review-provider: 抖音签名方法改为 CallbackPlugin 实现
- pr-review-provider: 银联配置字段改为 unipay_public_cert_path
- pr-review-provider: 微信证书补充说明可运行时拉取
- pr-review-provider: 数组回调处理注明仅适用于部分 Provider
- container-dev: Node 镜像改为 node:20-alpine (符合 engines.node >=20.12.0)
- AGENTS.md: getTenant 补充 ProviderConfigTrait 前缀
- AGENTS.md: 抖音签名方法更新
- AGENTS.md: 回调处理区分两类 Provider 实现方式

* fix: 修复 Copilot 新增的行内评论建议

- AGENTS.md: 补全 CertManager::getPrivateCert() 和 WechatTrait::reloadWechatPublicCerts() 前缀
- pr-review-provider: Jsb 从 ServerRequest 类移除(Jsb 返回 Collection)
- container-dev: pnpm 命令补充说明需本地 Node 或 Node 容器

* fix: 修复 Copilot 最新 7 条行内评论建议

- container-dev: Node 镜像注明 >=20.12.0 版本要求
- AGENTS.md: URL 构建补充 UnipayTrait::getUnipayUrl()
- AGENTS.md: 回调处理补充 Jsb,修正描述为 getCallbackParams() 返回 Collection
- pr-review-provider: use 导入规则注明排除动态类名字符串场景
- pr-review-provider: Alipay 管道补充 VerifySignaturePlugin
- pr-review-provider: Event 示例区分 ServerRequest 和 Collection 两种形态
* feat(config): add ProviderConfig classes and interface

- Add global Config class that converts Provider configs to objects
- Add ProviderConfigInterface with getTenant() and getMode() methods
- Add 10 Provider Config classes:
  - WechatConfig (with CertManager integration)
  - AlipayConfig
  - UnipayConfig
  - DouyinConfig
  - JsbConfig
  - PaypalConfig
  - StripeConfig
  - HttpConfig
  - LoggerConfig
- Each Config class validates required fields at construction
- Add .worktrees to gitignore

This is the foundation for type-safe config access across all Providers.

* fix: add CertManager to fix PHPStan errors

* feat: add Provider constants and use them in PROVIDER_CONFIG_MAP

* feat: add missing getter methods to Config classes

* test: add unit tests for Config classes

* feat(config): add abstract config base

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* refactor(config): define explicit provider properties

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* refactor(config): add explicit config accessors

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* refactor(config): align config integration helpers

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* test(config): update trait fixtures for config objects

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* fix(config): export provider configs for Artful compatibility

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* fix(wechat): restore exported certificate path access

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* fix(cert): clear serial certificate cache

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* test(config): align fixture validation coverage

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* style(config): align Pay method order

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* refactor(config): clarify internal Alipay cache fields

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* refactor(config): normalize config property names

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

---------

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
* feat: 新增空中云汇支付

* fix: 空中云汇 native api 问题

* update(airwallex): 补充 native api 文档说明

* fix(Airwallex): 修复 csfix & codecov & copilot 相关问题

* fix: phpstan & csfix

* fix: phpstan & csfix

* feat: 增加 airwallex 官方文档链接信息

* fix(Airwallex): review problems

* fix: migrate Function.php to trait

* fix(airwallex): adapt typed config migration

* fix: codecov csfix

* fix(airwallex): preserve tenant config during webhook verification

* test(airwallex): cover remaining provider branches

* test(airwallex): cover trait token branches

* fix(airwallex): #1140 (comment)

---------

Co-authored-by: 杨辰卓 <yangchenzhuo@westmoon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.