[wp-trac] [WordPress Trac] #61607: Coding Standards fixes for WP 6.7

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


#61607: Coding Standards fixes for WP 6.7
----------------------------+-------------------------------
 Reporter:  hellofromTonya  |       Owner:  SergeyBiryukov
     Type:  task (blessed)  |      Status:  reopened
 Priority:  normal          |   Milestone:  6.7
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  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/61607#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list