[wp-trac] [WordPress Trac] #41057: Update PHP codebase per WordPress PHP Coding Standards

WordPress Trac noreply at wordpress.org
Thu Nov 23 09:50:35 UTC 2017


#41057: Update PHP codebase per WordPress PHP Coding Standards
----------------------------+-----------------------
 Reporter:  netweb          |       Owner:  pento
     Type:  task (blessed)  |      Status:  accepted
 Priority:  normal          |   Milestone:  5.0
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  early commit    |     Focuses:
----------------------------+-----------------------

Comment (by netweb):

 Replying to [comment:84 pento]:
 > ... we still need write a `grunt` task to do the `phpcbf` and `phpcs`
 runs.

 Added Grunt tasks `grunt phpcs` and `grunt phpcbf` in
 [attachment:41057-grunt.diff]

 > We can make `phpcbf` run a required Travis job immediately (run
 `phpcbf`, fail if there are changes). `phpcs` will have to stay as an
 `allowed_failure` job until all of the manual fixes are done.

 Will do the Travis CI side of things in a separate patch

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


More information about the wp-trac mailing list