sergiu-paraschiv / phpci-jscpd
npm JSCPD plugin for PHPCI
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/sergiu-paraschiv/phpci-jscpd
This package is not auto-updated.
Last update: 2025-10-06 17:37:24 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"