All notable changes in PHPCPD are documented in this file using the Keep a CHANGELOG principles.
7.0.0 - 2022-MM-DD
- #199: Suffix Tree-based algorithm for code clone detection
- Removed support for PHP versions older than PHP 8.1
6.0.3 - 2020-12-07
- Changed PHP version constraint in
composer.json
from^7.3
to>=7.3
6.0.2 - 2020-08-18
- #187: Exclude arguments are being handled as prefixes
6.0.1 - 2020-08-13
- The
--verbose
CLI option had no effect
6.0.0 - 2020-08-13
- The
--names
CLI option has been removed; use the--suffix
CLI option instead - The
--names-exclude
CLI option has been removed; use the--exclude
CLI option instead - The
--regexps-exclude
CLI option has been removed - The
--progress
CLI option has been removed
5.0.2 - 2020-02-22
- Require
sebastian/version
version 3 andphpunit/php-timer
version 3 to allow Composer-based installation alongsidephploc/phploc
version 6 andphpunit/phpunit
version 9
5.0.1 - 2020-02-20
- #181:
--min-lines
,--min-tokens
, and--fuzzy
commandline options do not work
5.0.0 - 2020-02-20
- Removed support for PHP versions older than PHP 7.3
4.1.0 - 2018-09-17
- Implemented #117: Report average and maximum length of code clone
- The text logger now prints code clones sorted by size (in descending order)
4.0.0 - 2018-01-02
- Removed support for PHP versions older than PHP 7.1
3.0.1 - 2017-11-16
- #147: Wrong exit code when no files were found to be scanned
- #152: Version requirement for
sebastian/version
is too strict
3.0.0 - 2017-02-05
- #90: The PMD logger now replaces all characters that are invalid XML with
U+FFFD
- #100: Added the
--regexps-exclude
option
- When the Xdebug extension is loaded, PHPCPD disables as much of Xdebug's functionality as possible to minimize the performance impact
- Removed support for PHP versions older than PHP 5.6