diff --git a/docs/20_QUALITY.md b/docs/20_QUALITY.md index 4a9c8581..7854af78 100644 --- a/docs/20_QUALITY.md +++ b/docs/20_QUALITY.md @@ -117,6 +117,10 @@ implications of code complexity, though there is some overlap in the rulesets. "phpmd": { "configPath": "phpmd.xml", "path": "bin/phpmd" + "excludePaths": [ + "bower_components", + "node_modules" + ] } } ``` @@ -124,6 +128,9 @@ implications of code complexity, though there is some overlap in the rulesets. **phpmd.configPath**: The configuration file to use with PHPMD. Defaults to *phpmd.xml*. +**phpmd.excludePaths**: An array of string path patterns that should be skipped +by PHPMD. + **phpmd.path**: The path to the PHPMD executable. > If there is no `phpmd` key in the configuration, the system will assume you diff --git a/docs/60_PACKAGE.md b/docs/60_PACKAGE.md index f2ed4443..c4b4b858 100644 --- a/docs/60_PACKAGE.md +++ b/docs/60_PACKAGE.md @@ -30,16 +30,16 @@ This is an example of the settings for package tasks: **packages.srcFiles**: An array of files or file patterns to include or exclude from the build output when building a package. The above excludes files within -any sites/*/files directory, and Drupal's xmlrpc.php and PHP Filter. For more on -this format, see: http://gruntjs.com/configuring-tasks#files +any `sites/*/files` directory, and Drupal's `xmlrpc.php` file and PHP Filter +module. For more on this format, see: http://gruntjs.com/configuring-tasks#files **packages.projFiles**: An array of files or file patterns to include or exclude from the project directory when building a package. The above includes README -files and files under bin/ in the project's package. +files and files under `bin/` in the project's package. **packages.dest.docroot**: Specify where within the package directory the `srcFiles` should be placed. Defaults to the package root. For Acquia set this -to 'docroot'. +to `/docroot`. **packages.dest.vendor**: Specify where to place the composer.json and vendor directory. Defaults to the docroot.