[wp-trac] [WordPress Trac] #64627: Coding Standards: Remove or update stale PHPCS annotations

WordPress Trac noreply at wordpress.org
Sat Feb 14 23:46:06 UTC 2026


#64627: Coding Standards: Remove or update stale PHPCS annotations
--------------------------------------+-------------------------------
 Reporter:  rodrigosprimo             |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  7.0
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  coding-standards
--------------------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"61643" 61643]:
 {{{
 #!CommitTicketReference repository="" revision="61643"
 Twenty Twenty: Remove `EscapeOutput` annotations.

 These are from the `WordPress-Extra` standard, which is not included in
 the `phpcs.xml.dist` configuration (the repository uses `WordPress-Core`).

 Includes removing unnecessary `WordPress.WP.CapitalPDangit.Misspelled`
 annotation on the `wordpress` array key, as the `CapitalPDangit` sniff
 skips array definitions by design.

 Follow-up to [46271], [46445].

 Props rodrigosprimo.
 See #64627.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64627#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list