Automattic / Automattic/VIP-Coding-Standards
Almost every WP CLI command should call `stop_the_insanity()`
未关闭
Type: Enhancement
- 主要语言
- PHP
- 星标
- 261
- 派生
- 44
- 平均合并
- 19 分钟
- 30 天内合并 PR
- 1
描述
see https://vip.wordpress.com/documentation/writing-bin-scripts/ for more details.
We, imho, should produce a warning in case the `stop_the_insanity()` is not part of a command.
贡献指南
调研方向
先查看链接的 VIP 文档中关于编写 bin 脚本的内容,然后检查仓库中针对 WordPress CLI 命令的 PHP_CodeSniffer 规则。当缺少 stop_the_insanity() 的命令产生所要求的警告,并覆盖相关命令用例时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php, wordpress
- 领域
- cli, tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 28/100