[wp-trac] [WordPress Trac] #42885: Fix PHPCS "Yoda Condition checks" for root files of WordPress Core.

WordPress Trac noreply at wordpress.org
Mon Jan 14 22:31:50 UTC 2019


#42885: Fix PHPCS "Yoda Condition checks" for root files of WordPress Core.
-----------------------------------+-------------------------------
 Reporter:  chetan200891           |       Owner:  (none)
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:
Component:  General                |     Version:
 Severity:  normal                 |  Resolution:  wontfix
 Keywords:  has-patch 2nd-opinion  |     Focuses:  coding-standards
-----------------------------------+-------------------------------
Changes (by pento):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  5.1 =>


Comment:

 I'm going to close this issue, as I think the core coding standards will
 ultimately drop Yoda conditions.

 See [https://github.com/WordPress-Coding-Standards/WordPress-Coding-
 Standards/issues/1624 WPCS1624].

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


More information about the wp-trac mailing list