Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 466 Bytes

php-copy-paste-detector-plugin.md

File metadata and controls

18 lines (15 loc) · 466 Bytes

Runs PHP Copy / Paste Detector against your build.

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

test:
  php_cpd:
    standard: "PSR2"
    path: "app"
    ignore:
      - "app/my/path"