Skip to:
Content

bbPress.org

Changeset 7039


Ignore:
Timestamp:
12/14/2019 05:51:31 AM (5 years ago)
Author:
netweb
Message:

Build Tools: Add project root composer.json file.

This commit adds the following Composer package developer dependencies:

  • phpcompatibility/phpcompatibility-wp
  • wp-coding-standards/wpcs
  • dealerdirect/phpcodesniffer-composer-installer

This also adds two composer scripts:

  • composer lint to "lint" the PHP files using PHPCS
  • composer format to "format" the PHP files using PHPCBF

Props jrf.
See #3294.

Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r7006 r7039  
    225225            'default': {
    226226                cmd: 'phpcs',
    227                 args: [ '--standard=phpcs.xml.dist', '--report-summary', '--report-source', '--cache=.phpcscache' ]
     227                args: [ '--report-summary', '--report-source', '--cache=.phpcscache' ]
    228228            }
    229229        },
Note: See TracChangeset for help on using the changeset viewer.