Add phpcpd integration
Closed this issue · 3 comments
0m3r commented
Please add phpcpd tool integration
Copy/Paste Detector (CPD) for PHP code
bruli commented
Do you think it made sense?.
Git hook runs tool for commited files. I think phpcpd needs analize all code, and maybe will be to much slow.
0m3r commented
You're right.
But you can always choose - no. [Y/n]
Or let it be in the pre-push section.
bruli commented
I'm thinking to create a new tool to run all php tools (phpunit, php-cs-fixer, phpmd, etc) in a single command, instead of git hook.
Maybe it make more sense in it.