[wp-trac] [WordPress Trac] #47632: Coding Standards fixes for WP 5.3

WordPress Trac noreply at wordpress.org
Fri Jul 5 02:50:02 UTC 2019


#47632: Coding Standards fixes for WP 5.3
----------------------------+-------------------------------
 Reporter:  pento           |       Owner:  pento
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  5.3
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by pento):

 In [changeset:"45600" 45600]:
 {{{
 #!CommitTicketReference repository="" revision="45600"
 Coding Standards: Upgrade WPCS to 2.1.1.

 Noteable changes:
 - WPCS now throws warnings when non-strict comparisons are used. There are
 quite a few of them in Core. 🙃
 - WPCS now detects and warns for assignments in loop conditions.

 See #47632.
 }}}

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


More information about the wp-trac mailing list