sergiu-paraschiv/phpci-jscpd

There is no license information available for the latest version (v2.1) of this package.

npm JSCPD plugin for PHPCI

v2.1 2016-05-24 11:50 UTC

This package is not auto-updated.

Last update: 2024-09-23 12:45:47 UTC


README

JSCPD reporter for PHPCI

Add this to composer.json:

composer require sergiu-paraschiv/phpci-jscpd

Then the task to phpci.yml:

\SergiuParaschiv\PHPCI\Plugin\JSCPD:
    directory: "frontend"
    command: "npm run mess:ci"
    allowed_duplication_percent: 5

mess:ci in package.json should be "jscpd --path app/ --languages javascript,jsx --exclude test/mocks/* --reporter xml --limit $LIMIT --output $OUTPUT"