[wp-trac] [WordPress Trac] #50258: Update WordPress Coding Standards ruleset

WordPress Trac noreply at wordpress.org
Mon Jun 8 21:26:02 UTC 2020


#50258: Update WordPress Coding Standards ruleset
------------------------------+-------------------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  task (blessed)    |      Status:  closed
 Priority:  low               |   Milestone:  5.5
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:  coding-standards
------------------------------+-------------------------------

Comment (by desrosj):

 In [changeset:"47929" 47929]:
 {{{
 #!CommitTicketReference repository="" revision="47929"
 Coding Standards: PHP short ternary operator syntax is not allowed.

 WPCS 2.2.0 added a sniff for detecting short ternary operator syntax,
 which is not allowed per the Core handbook.

 Follow up of [47927].
 Fixes #50258.
 }}}

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


More information about the wp-trac mailing list