Automattic / Automattic/VIP-Coding-Standards
4.0 | Remove previously deprecated code
- 主要语言
- PHP
- 星标
- 261
- 派生
- 44
- 平均合并
- 19 分钟
- 30 天内合并 PR
- 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 及其已弃用的 members,然后查看所引用的 issue #858、#234、#517、#865 和 #872,以了解范围和依赖关系。JavaScript sniffs 在 #442 中单独跟踪。完成意味着移除列出的已弃用 PHP 代码,但不包括这项单独的工作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- tooling
- Issue 类型
- 重构
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100