[wp-trac] [WordPress Trac] #44366: Update PHPCS ruleset for WP Core and related Composer setup

WordPress Trac noreply at wordpress.org
Wed Oct 17 01:32:45 UTC 2018


#44366: Update PHPCS ruleset for WP Core and related Composer setup
------------------------------+-------------------------------
 Reporter:  jrf               |       Owner:  jrf
     Type:  enhancement       |      Status:  reopened
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  coding-standards
------------------------------+-------------------------------
Changes (by netweb):

 * keywords:  has-patch => has-patch commit


Comment:

 Patch [attachment:"44366-50branch.diff"] for the 5.0 branch is ready for
 commit

 Note: The patch includes the changes for `svn:ignore`, highly unlikely it
 will applied when applying the patch though.

 To edit `svn:ignore` run `svn propedit svn:ignore .` from the command line
 and add `phpcs.xml` and `.phpcs.xml` after `phpunit.xml`

 {{{#!diff
 Index: .
 ===================================================================
 --- .   (revision 43735)
 +++ .   (working copy)

 Property changes on: .
 ___________________________________________________________________
 Modified: svn:ignore
 ## -5,9 +5,11 ##

  # Files and folders related to build/test tools
  phpunit.xml
 +phpcs.xml
 +.phpcs.xml
  node_modules
  npm-debug.log
  build
  wp-cli.local.yml
  .git
  jsdoc
 }}}

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


More information about the wp-trac mailing list