ValidHookNames: ignore deprecated hooks by design
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Start with the ValidHookName sniff and review the related issues #1797, #1806, and #1811 for context. Check how deprecated hooks are currently handled and identify the sniff tests covering hook-name validation; done means deprecated hooks are ignored without changing validation for other hooks.
Written by the indexing model from the issue text.
Description
Hooks which are marked as @deprecated should be ignored for the purposes of the ValidHookName sniff.
Related: #1797, #1806, #1811
- Dominant language
- PHP
- Stars
- 2.8k
- Forks
- 521
- Avg merge
- 5d 20h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from WordPress/WordPress-Coding-Standards
-
Component: Core Focus: DB Type: Bug
Difficulty 2/5 Half a day Newbie friendliness 68/100
WordPress/WordPress-Coding-Standards#2720 · 1 comment ·
-
Component: Extra Type: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
WordPress/WordPress-Coding-Standards#2516 · 3 comments ·
-
WordPress.Security.EscapeOutput: Wiki misses hint about lower case entry for customEscapingFunctions Open
Difficulty 1/5 Under an hour Newbie friendliness 62/100
WordPress/WordPress-Coding-Standards#2508 · 3 comments ·
-
Status: Good first issue Status: Help wanted Type: Documentation
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
WordPress/WordPress-Coding-Standards#1722 · 15 comments ·
-
Component: Helpers Priority: Low Type: Bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
All issues in WordPress/WordPress-Coding-Standards
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RSS-Bridge/rss-bridge#5098 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
phingofficial/phing#2025 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
silverstripe/developer-docs#911 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100