Automattic / Automattic/VIP-Coding-Standards

Almost every WP CLI command should call `stop_the_insanity()`

オープン
#151 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
Type: Enhancement
主要言語
PHP
スター
261
フォーク
44
平均マージ
19分
マージ済み PR(30日)
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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、binスクリプトの記述に関するリンク先のVIPドキュメントを確認し、次にWordPress CLIコマンド向けのリポジトリのPHP_CodeSnifferルールを調査します。stop_the_insanity() がないコマンドが要求された警告を出力し、関連するコマンドケースがカバレッジに含まれていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
php, wordpress
領域
cli, tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
28/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。