[wp-trac] [WordPress Trac] #62076: Composer: update to PHP_CodeSniffer 3.10.3

WordPress Trac noreply at wordpress.org
Thu Sep 19 12:10:35 UTC 2024


#62076: Composer: update to PHP_CodeSniffer 3.10.3
------------------------------------------+-------------------------------
 Reporter:  jrf                           |       Owner:  SergeyBiryukov
     Type:  task (blessed)                |      Status:  accepted
 Priority:  normal                        |   Milestone:  6.7
Component:  Build/Test Tools              |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  add-to-field-guide has-patch  |     Focuses:  coding-standards
------------------------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"59066" 59066]:
 {{{
 #!CommitTicketReference repository="" revision="59066"
 Coding Standards: Remove unused return value for
 `WP_Object_Cache::__set()`.

 This resolves a WPCS warning:
 {{{
 Assignments must be the first block of code on a line
 }}}

 Note: This is enforced by PHPCS 3.10.3.

 Follow-up to [28521], [29146].

 Props jrf.
 See #62076, #61607.
 }}}

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


More information about the wp-trac mailing list