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

WordPress Trac noreply at wordpress.org
Wed Feb 11 22:10:54 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:"61615" 61615]:
 {{{
 #!CommitTicketReference repository="" revision="61615"
 Coding Standards: Correct two ignore annotations for
 `WordPress.DB.PreparedSQL`.

 The `WordPress.DB.PreparedSQL` sniff contains two different error
 messages, which initially shared the same error code. A unique error code
 for the second message was added in WPCS 2.0.0.

 Reference: [https://github.com/WordPress/WordPress-Coding-
 Standards/pull/1601 PreparedSQL: use unique errorcode for messages].

 Follow-up to [43628], [43630], [43654], [44472].

 Props rodrigosprimo.
 See #64627.
 }}}

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


More information about the wp-trac mailing list