diff --git a/Php-copy-paste-detector-plugin.md b/Php-copy-paste-detector-plugin.md index 511faff..647f643 100644 --- a/Php-copy-paste-detector-plugin.md +++ b/Php-copy-paste-detector-plugin.md @@ -1,12 +1,18 @@ Runs PHP Copy / Paste Detector against your build. -### Configuration Options: -* **path** - Optional - Path in which to run PHP Copy/Paste Detector. -* **ignore** - Optional - A list of files / paths to ignore, defaults to the build_settings ignore list. +## Configuration +### Options +* **path** - Optional - Path in which to run PHP Copy/Paste Detector (default: build root). +* **ignore** - Optional - A list of files / paths to ignore (default: build_settings > ignore). +* **standard** [string, optional] - which PSR standard to follow (default: 'PSR1'). -### Example config: +### Example ```yml -php_cpd: +test: + php_cpd: + standard: "PSR2" path: "app" -``` \ No newline at end of file + ignore: + - "app/my/path" +```