[wp-trac] [WordPress Trac] #49376: Adjust coding standards to always omit parenthesis for include/require statements

WordPress Trac noreply at wordpress.org
Fri Feb 7 01:12:36 UTC 2020


#49376: Adjust coding standards to always omit parenthesis for include/require
statements
------------------------------+-------------------------------
 Reporter:  desrosj           |       Owner:  (none)
     Type:  task (blessed)    |      Status:  new
 Priority:  low               |   Milestone:  5.4
Component:  General           |     Version:
 Severity:  trivial           |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  coding-standards
------------------------------+-------------------------------
Changes (by jrf):

 * keywords:  has-patch needs-refresh => has-patch commit


Comment:

 LGTM

 And yes, leave the `LanguageContructSpacing` one as is. Once it's moved in
 WPCS (and a new WPCS version released), these rules can be removed and
 that should be soon enough.
 WPCS will then take care of the sniff change-over automatically if and
 when.

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


More information about the wp-trac mailing list