phpcpd

A copy and paste detector for PHP code. More information:…

phpcpd

A copy and paste detector for PHP code. More information: https://github.com/sebastianbergmann/phpcpd.

phpcpd {{path/to/file_or_directory}}

phpcpd --fuzzy {{path/to/file_or_directory}}

phpcpd --min-lines {{number_of_lines}} {{path/to/file_or_directory}}

phpcpd --min-tokens {{number_of_tokens}} {{path/to/file_or_directory}}

phpcpd --exclude {{path/to/excluded_directory}} {{path/to/file_or_directory}}

phpcpd --log-pmd {{path/to/log_file}} {{path/to/file_or_directory}}

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← php-coveralls phpcs →