Skip to content

Commit 93e0f52

Browse files
committed
Documentation updates.
1 parent 3d36121 commit 93e0f52

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

docs/20_QUALITY.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,20 @@ implications of code complexity, though there is some overlap in the rulesets.
117117
"phpmd": {
118118
"configPath": "phpmd.xml",
119119
"path": "bin/phpmd"
120+
"excludePaths": [
121+
"bower_components",
122+
"node_modules"
123+
]
120124
}
121125
}
122126
```
123127

124128
**phpmd.configPath**: The configuration file to use with PHPMD. Defaults to
125129
*phpmd.xml*.
126130

131+
**phpmd.excludePaths**: An array of string path patterns that should be skipped
132+
by PHPMD.
133+
127134
**phpmd.path**: The path to the PHPMD executable.
128135

129136
> If there is no `phpmd` key in the configuration, the system will assume you

docs/60_PACKAGE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ This is an example of the settings for package tasks:
3030

3131
**packages.srcFiles**: An array of files or file patterns to include or exclude
3232
from the build output when building a package. The above excludes files within
33-
any sites/*/files directory, and Drupal's xmlrpc.php and PHP Filter. For more on
34-
this format, see: http://gruntjs.com/configuring-tasks#files
33+
any `sites/*/files` directory, and Drupal's `xmlrpc.php` file and PHP Filter
34+
module. For more on this format, see: http://gruntjs.com/configuring-tasks#files
3535

3636
**packages.projFiles**: An array of files or file patterns to include or exclude
3737
from the project directory when building a package. The above includes README
38-
files and files under bin/ in the project's package.
38+
files and files under `bin/` in the project's package.
3939

4040
**packages.dest.docroot**: Specify where within the package directory the
4141
`srcFiles` should be placed. Defaults to the package root. For Acquia set this
42-
to 'docroot'.
42+
to `/docroot`.
4343

4444
**packages.dest.vendor**: Specify where to place the composer.json and vendor
4545
directory. Defaults to the docroot.

0 commit comments

Comments
 (0)