[wp-trac] [WordPress Trac] #30153: Integrate PHP_CodeSniffer into build/test tools to enforce coding standards on new patches

WordPress Trac noreply at wordpress.org
Mon Jul 9 03:40:33 UTC 2018


#30153: Integrate PHP_CodeSniffer into build/test tools to enforce coding standards
on new patches
------------------------------+-------------------------------
 Reporter:  westonruter       |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:  coding-standards
------------------------------+-------------------------------
Changes (by pento):

 * milestone:  Awaiting Review => 5.0


Comment:

 @westonruter: Did you ever get `phpcs-patch` merged upstream?

 A reasonable first version of this could just run `phpcbf` on any changed
 files (after another full `phpcbf` run is done on `trunk`, of course).

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


More information about the wp-trac mailing list