php-censor/docs/en/plugins/php_cpd.md

23 lines
440 B
Markdown
Raw Permalink Normal View History

2016-07-19 11:12:28 +02:00
Plugin PHP Copy/Paste Detector
2017-01-04 13:22:20 +01:00
==============================
2016-07-19 11:12:28 +02:00
Runs PHP Copy/Paste Detector against your build.
Configuration
2017-01-04 13:22:20 +01:00
-------------
2016-07-17 16:20:35 +02:00
### Options
2016-07-19 11:12:28 +02:00
* **path** - Optional - Path in which to run PHP Copy/Paste Detector (default: `%BUILD_PATH%`).
2016-07-17 16:20:35 +02:00
* **ignore** - Optional - A list of files / paths to ignore (default: build_settings > ignore).
2016-07-19 11:12:28 +02:00
### Examples
2016-07-17 16:20:35 +02:00
```yml
test:
php_cpd:
path: "app"
ignore:
- "app/my/path"
```