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

WordPress Trac noreply at wordpress.org
Wed Jul 18 04:21:44 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 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.

 We also need to add a rule to protect the special line endings in the
 config files:

 {{{
         <rule ref="Generic.Files.LineEndings">
                 <exclude-pattern>/wp-config\.php</exclude-pattern>
                 <exclude-pattern>/wp-config-sample\.php</exclude-pattern>
         </rule>
 }}}

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


More information about the wp-trac mailing list