[wp-trac] [WordPress Trac] #57994: Coding Standards fixes for WP 6.2.1

WordPress Trac noreply at wordpress.org
Wed Mar 29 07:11:41 UTC 2023


#57994: Coding Standards fixes for WP 6.2.1
----------------------------+-------------------------------
 Reporter:  SergeyBiryukov  |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  6.2.1
Component:  General         |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  coding-standards
----------------------------+-------------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55606" 55606]:
 {{{
 #!CommitTicketReference repository="" revision="55606"
 Coding Standards: Apply various alignment corrections from `composer
 format`.

 This fixes a few WPCS warnings along the lines of:
 * Array double arrow not aligned correctly
 * Equals sign not aligned with surrounding statements
 * Usage of ELSE IF is discouraged; use ELSEIF instead

 Follow-up to [55099], [55192], [55194], [55271].

 Props davidbaumwald, jrf, SergeyBiryukov.
 Fixes #57994.
 }}}

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


More information about the wp-trac mailing list