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

WordPress Trac noreply at wordpress.org
Wed Jul 18 03:37:42 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            |   Keywords:
  Focuses:  coding-standards  |
------------------------------+----------------------
 WPCS 1.0.0 will be released very soon, which is a lovely round version
 number to update to.

 This is a tracking ticket to ensure the necessary tasks are taken care of.

 - Apply any necessary manual fixes prior to the next formatting run.
 - Update `composer.json` to the new version, and `phpcs.xml.dist` with any
 tweaks.
 - Apply the formatting run.
 - Create a Grunt `precommit` task to run `composer format` on any changed
 PHP files.
 - Create a Travis job to ensure auto-fixable code formatting errors cannot
 be re-introduced.

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


More information about the wp-trac mailing list