Automattic / Automattic/VIP-Coding-Standards

4.0 | Remove previously deprecated code

オープン
#849 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Breaking Change Type: Maintenance
主要言語
PHP
スター
261
フォーク
44
平均マージ
19分
マージ済み PR(30日)
1

説明

Removing the deprecated JS sniffs is tracked separately in #442.

List of deprecated code which should be removed in the next major:
- [ ] `WordPressVIPMinimum\Sniffs\Classes\DeclarationCompatibilitySniff::$checkClasses` - deprecated since VIPCS 3.1.0, see #858, related to #234.
- [ ] `WordPressVIPMinimum\Sniffs\Classes\DeclarationCompatibilitySniff::$checkClassesGroups` - deprecated since VIPCS 3.1.0, see #858, related to #234.
- [ ] The complete `WordPressVIPMinimum\Sniffs\Functions\DynamicCalls` sniff - deprecated since VIPCS 3.1.0, see #517 and #865
- [ ] `WordPressVIPMinimum\Sniffs\Performance\TaxonomyMetaInOptionsSniff::$option_functions` - deprecated since VIPCS 3.1.0, see #872, related to #234.
- [ ] `WordPressVIPMinimum\Sniffs\Security\ProperEscapingFunctionSniff::$url_attrs` - deprecated since VIPCS 2.3.1
- [ ] `WordPressVIPMinimum\Sniffs\Security\ProperEscapingFunctionSniff::$attr_endings` - deprecated since VIPCS 2.3.1
- [ ] `WordPressVIPMinimum\Sniffs\Security\ProperEscapingFunctionSniff::attr_expects_url)_` - deprecated since VIPCS 2.3.1
- [ ] `WordPressVIPMinimum\Sniffs\Security\ProperEscapingFunctionSniff::is_html_attr()` - deprecated since VIPCS 2.3.1

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

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

調査の方向性

まず、一覧にある WordPressVIPMinimum の sniffs と、それらの deprecated members を調査し、続いて参照されている issue #858、#234、#517、#865、#872 を確認して、対象範囲と依存関係を把握します。JavaScript の sniffs は #442 で別途追跡されています。完了とは、一覧にある deprecated な PHP コードが削除され、その別作業を含まないことを意味します。

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

評価

技術スタック
php
領域
tooling
issue の種類
リファクタリング
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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