[wp-trac] [WordPress Trac] #60279: Composer: update to PHP_CodeSniffer 3.8.1

WordPress Trac noreply at wordpress.org
Sun Jan 28 21:33:15 UTC 2024


#60279: Composer: update to PHP_CodeSniffer 3.8.1
------------------------------+-------------------------------
 Reporter:  jrf               |       Owner:  SergeyBiryukov
     Type:  task (blessed)    |      Status:  accepted
 Priority:  normal            |   Milestone:  6.5
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  coding-standards
------------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"57372" 57372]:
 {{{
 #!CommitTicketReference repository="" revision="57372"
 Coding Standards: Use strict type check for `in_array()` in
 `get_hooked_block_markup()`.

 This aims to prevent type juggling causing incorrect results.

 Follow-up to [57157].

 Props jrf.
 See #60279.
 }}}

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


More information about the wp-trac mailing list