[wp-trac] [WordPress Trac] #44600: Update WPCS to 1.0.0, and enforce coding standards

WordPress Trac noreply at wordpress.org
Wed Jul 18 07:17:45 UTC 2018


#44600: Update WPCS to 1.0.0, and enforce coding standards
------------------------------+-------------------------------
 Reporter:  pento             |       Owner:  pento
     Type:  task (blessed)    |      Status:  assigned
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:  coding-standards
------------------------------+-------------------------------

Comment (by azaozz):

 Replying to [comment:1 pento]:
 > For the `phpcs.xml.dist` changes, I've proposed a change in #43644,
 requiring each parameter of a multi-line function call to be on a new
 line.

 I'm actually thinking we should *ban* multi-line function parameters.
 There is no good reason to have them, they just make the code harder to
 read.

 Will comment on #43644.

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


More information about the wp-trac mailing list