Skip to content

Conversation

@huangdijia
Copy link
Contributor

@huangdijia huangdijia commented Nov 15, 2025

Summary

This PR removes the pest-plugin-hyperf component from the monorepo.

Changes

  • Removed src/pest-plugin-hyperf/ directory and all source files
  • Removed documentation files in all languages (en, zh-cn, zh-hk, zh-tw)
  • Updated sidebar configurations to remove references to the component
  • Updated composer.json to remove package and autoload entries
  • Updated component lists in README files

Files Changed

  • Composer configuration: Removed package from require and autoload sections
  • Documentation: Removed component docs and sidebar entries for all languages
  • Source code: Removed entire pest-plugin-hyperf directory
  • README: Updated component list tables

Test Plan

  • Verify composer.json is valid
  • Verify documentation builds correctly
  • Verify no broken links remain in documentation
  • Verify monorepo structure is intact

Summary by CodeRabbit

发行说明

  • Chores
    • 移除了 Pest Plugin Hyperf 包相关的配置、依赖和文档。
    • 从多语言文档中删除了相关导航项和组件列表条目。
    • 清除了关联的工作流配置和项目元数据。

This commit removes the pest-plugin-hyperf component from the monorepo, including:
- Component source code and configuration files
- Documentation in all languages (en, zh-cn, zh-hk, zh-tw)
- Sidebar references across all language versions
- Composer.json autoload and require entries
- Component list in README files
@coderabbitai
Copy link

coderabbitai bot commented Nov 15, 2025

总结

该拉取请求从单仓库中完全移除了 Pest Plugin Hyperf 包及其所有相关文件和文档。

变更概览

从项目中移除了 Pest Plugin Hyperf 组件的全部内容,包括源代码、文档、自动加载映射、构建工作流和配置文件。此操作涉及移除 composer.json 的包替换声明、多语言文档页面、侧边栏导航条目以及 src/pest-plugin-hyperf 目录下的所有文件。

变更表

变更类型 文件 说明
根目录配置更新 composer.json 移除了 friendsofhyperf/pest-plugin-hyperf 的 replace 声明;删除了 Pest\Hyperf\\ 命名空间的 PSR-4 自动加载映射
导航菜单更新 docs/.vitepress/src/*/sidebars.ts
(en、zh-cn、zh-hk、zh-tw)
从各语言版本的组件侧边栏中移除 Pest Plugin Hyperf 条目
文档删除 docs/*/components/pest-plugin-hyperf.md
(en、zh-cn、zh-hk、zh-tw)
docs/*/guide/start/components.md
(zh-cn、zh-hk、zh-tw)
src/.github/profile/README.md
删除各语言版本的 Pest Plugin Hyperf 文档页面和组件列表中的相关条目
包目录完全移除 src/pest-plugin-hyperf/*
(.gitattributes、.github/FUNDING.yml、.github/workflows/close-pull-request.yml、.github/workflows/release.yaml、LICENSE、README.md、composer.json、src/Plugin.php)
移除整个 Pest Plugin Hyperf 子包目录及其所有文件

预计代码审查工作量

🎯 2 (简单) | ⏱️ ~10 分钟

  • 变更基本为文件删除操作,结构清晰且易于验证
  • src/pest-plugin-hyperf/src/Plugin.php 的删除虽涉及较复杂的业务逻辑(Swoole 协程管理、内核编排),但因为是移除而非修改,审查相对直接
  • 所有文档和配置文件的删除都是直观且无副作用的

诗歌

🐰 欢呼雀跃小兔兔,整理家园好舒服
移除旧物明房间,Pest 插件说再见
简洁清爽新开始,单仓流畅如清风

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 标题准确总结了主要变更:移除 pest-plugin-hyperf 组件,与变更集内容完全对应。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch remove-pest-plugin-hyperf

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ccc4191 and d7b5ed5.

📒 Files selected for processing (21)
  • composer.json (1 hunks)
  • docs/.vitepress/src/en/sidebars.ts (0 hunks)
  • docs/.vitepress/src/zh-cn/sidebars.ts (0 hunks)
  • docs/.vitepress/src/zh-hk/sidebars.ts (0 hunks)
  • docs/.vitepress/src/zh-tw/sidebars.ts (0 hunks)
  • docs/en/components/pest-plugin-hyperf.md (0 hunks)
  • docs/zh-cn/components/pest-plugin-hyperf.md (0 hunks)
  • docs/zh-cn/guide/start/components.md (0 hunks)
  • docs/zh-hk/components/pest-plugin-hyperf.md (0 hunks)
  • docs/zh-hk/guide/start/components.md (0 hunks)
  • docs/zh-tw/components/pest-plugin-hyperf.md (0 hunks)
  • docs/zh-tw/guide/start/components.md (0 hunks)
  • src/.github/profile/README.md (0 hunks)
  • src/pest-plugin-hyperf/.gitattributes (0 hunks)
  • src/pest-plugin-hyperf/.github/FUNDING.yml (0 hunks)
  • src/pest-plugin-hyperf/.github/workflows/close-pull-request.yml (0 hunks)
  • src/pest-plugin-hyperf/.github/workflows/release.yaml (0 hunks)
  • src/pest-plugin-hyperf/LICENSE (0 hunks)
  • src/pest-plugin-hyperf/README.md (0 hunks)
  • src/pest-plugin-hyperf/composer.json (0 hunks)
  • src/pest-plugin-hyperf/src/Plugin.php (0 hunks)
💤 Files with no reviewable changes (20)
  • src/.github/profile/README.md
  • src/pest-plugin-hyperf/LICENSE
  • src/pest-plugin-hyperf/README.md
  • docs/.vitepress/src/zh-cn/sidebars.ts
  • docs/.vitepress/src/zh-tw/sidebars.ts
  • docs/zh-tw/components/pest-plugin-hyperf.md
  • docs/.vitepress/src/en/sidebars.ts
  • docs/en/components/pest-plugin-hyperf.md
  • src/pest-plugin-hyperf/src/Plugin.php
  • src/pest-plugin-hyperf/.github/workflows/close-pull-request.yml
  • src/pest-plugin-hyperf/.github/FUNDING.yml
  • docs/zh-cn/components/pest-plugin-hyperf.md
  • src/pest-plugin-hyperf/composer.json
  • docs/zh-cn/guide/start/components.md
  • docs/.vitepress/src/zh-hk/sidebars.ts
  • docs/zh-tw/guide/start/components.md
  • docs/zh-hk/components/pest-plugin-hyperf.md
  • src/pest-plugin-hyperf/.gitattributes
  • docs/zh-hk/guide/start/components.md
  • src/pest-plugin-hyperf/.github/workflows/release.yaml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (17)
  • GitHub Check: Test on PHP 8.1 with Swoole 6.1.2
  • GitHub Check: Test on PHP 8.1 with Swoole 5.1.8
  • GitHub Check: Test on PHP 8.1 with Swoole 6.0.2
  • GitHub Check: Test on PHP 8.2 with Swoole 5.1.8
  • GitHub Check: Test on PHP 8.2 with Swoole 6.1.2
  • GitHub Check: Test on PHP 8.3 with Swoole 5.1.8
  • GitHub Check: Test on PHP 8.2 with Swoole 6.0.2
  • GitHub Check: Test on PHP 8.3 with Swoole 6.1.2
  • GitHub Check: Test on PHP 8.3 with Swoole 6.0.2
  • GitHub Check: Test on PHP 8.1 with Swoole 5.1.8
  • GitHub Check: Test on PHP 8.1 with Swoole 6.1.2
  • GitHub Check: Test on PHP 8.2 with Swoole 5.1.8
  • GitHub Check: Test on PHP 8.3 with Swoole 5.1.8
  • GitHub Check: Test on PHP 8.2 with Swoole 6.1.2
  • GitHub Check: Test on PHP 8.3 with Swoole 6.0.2
  • GitHub Check: Test on PHP 8.3 with Swoole 6.1.2
  • GitHub Check: translate
🔇 Additional comments (3)
composer.json (3)

118-170: friendsofhyperf/pest-plugin-hyperf 已成功从 replace 部分移除

验证完成。脚本扫描了 composer.jsonreplace 部分的全部 51 个条目,确认 friendsofhyperf/pest-plugin-hyperf 不存在于列表中。移除操作已正确完成,文件结构保持一致。


174-226: 验证通过:PSR-4 自动加载映射无问题

验证脚本已确认所有 PSR-4 命名空间映射均指向有效的目录,且不存在指向已删除 src/pest-plugin-hyperf/src/ 目录的遗留条目。PSR-4 配置完整性已验证无误。


225-225: 移除操作已完整验证,无残留问题

pest-plugin-hyperf 的移除已经完全完成并且正确。验证结果确认:

  • ✓ composer.json 格式有效
  • ✓ pest-plugin-hyperf 从 require、require-dev、replace 和 autoload.psr-4 中完全移除
  • ✓ 代码库中无任何残留的 Pest\Hyperf 命名空间引用
  • ✓ 配置文件中无相关引用
  • ✓ 其他 Pest 依赖包保持正常状态
  • ✓ 第 225 行 WebTinker 条目是正常的 PSR-4 命名空间入口,应该存在且保持不变

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@huangdijia huangdijia merged commit 428c8d4 into main Nov 15, 2025
23 of 24 checks passed
@huangdijia huangdijia deleted the remove-pest-plugin-hyperf branch November 15, 2025 11:55
huangdijia added a commit that referenced this pull request Nov 15, 2025
This commit removes the pest-plugin-hyperf component from the monorepo, including:
- Component source code and configuration files
- Documentation in all languages (en, zh-cn, zh-hk, zh-tw)
- Sidebar references across all language versions
- Composer.json autoload and require entries
- Component list in README files

Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
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.

2 participants