[wp-trac] [WordPress Trac] #53359: Coding Standards fixes for WP 5.9

WordPress Trac noreply at wordpress.org
Sat Nov 6 21:56:05 UTC 2021


#53359: Coding Standards fixes for WP 5.9
--------------------------------------+---------------------
 Reporter:  desrosj                   |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  5.9
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"52025" 52025]:
 {{{
 #!CommitTicketReference repository="" revision="52025"
 Coding Standards: Rename the `$strResponse` argument to `$str_response` in
 `WP_Http::processResponse()`.

 This fixes a `Variable "$strResponse" is not in valid snake_case format`
 WPCS warning.

 Additionally, rename a `$res` variable to `$response` for clarity.

 Follow-up to [8516], [51823], [51826], [51877].

 See #53359.
 }}}

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


More information about the wp-trac mailing list