Skip to content

Releases: systemsdk/phpcpd

v9.1.0

Choose a tag to compare

@dimadeush dimadeush released this 02 Sep 16:50
  • Add JSON and SARIF 2.1.0 loggers for CI/CD integrations
  • Implement [inconsistent] clone detection and fix fuzzy matching logic
  • Fix attribute boundary detection for both parsing strategies
  • Fix directory scanning bug with the --exclude option
  • Update composer dependencies
  • Add audit counters for #[SuppressCpd] to CLI, JSON, and XML reports
  • Introduce a fluent Config builder pattern loaded from phpcpd.config.php with a dist template
  • Add --quiet option to suppress non-essential CLI output for CI/CD environments (fixes #205)
  • Implement CI/CD exit code controls via --max-percentage and --ignore-violations-on-exit options (fixes #190)
  • Add an overlap filter to automatically prevent duplicate reporting of intersecting or nested clone ranges
  • Updated documentation

v9.0.0

Choose a tag to compare

@dimadeush dimadeush released this 08 Mar 18:06

Updated

  • Updated the minimum PHP requirement to version 8.4, meaning this tool is no longer supported on PHP 8.3.
  • Updated the Suffix Tree engine to use PHP native arrays, completely eliminating hash collisions, achieving zero memory bloat, and boosting performance by up to 17%.
  • Updated the PMD-CPD XML report generator to use the modern Dom\XMLDocument extension.
  • Updated Composer dependencies and improved the development environment for the support team.

v8.3.0

Choose a tag to compare

@dimadeush dimadeush released this 16 Feb 21:02

Added

  • Added --ignore-no-files option to return a success exit code if no files were found.
  • Added #[SuppressCpd] to ignore code clones inside a class or method (use Systemsdk\PhpCPD\Attributes\SuppressCpd;).

Updated

  • Improved Suffix Tree-based algorithm for code clone detection.
  • Updated Dev environment: Updated XDebug, Phing, dev composer dependencies.

v8.2.4

Choose a tag to compare

@dimadeush dimadeush released this 08 Nov 13:16

phpcpd 8.2.4 release.
Updated sebastian/cli-parser. Dev environment: Updated XDebug, Phive, Phing, dev composer dependencies.

v8.2.3

Choose a tag to compare

@dimadeush dimadeush released this 25 May 16:30

Improved html report and DataTables buttons, updated bootstrap and DataTables to the latest version.

v8.2.2

Choose a tag to compare

@dimadeush dimadeush released this 18 May 17:09

phpcpd 8.2.2 release. Improved progress bar.

v8.2.1

Choose a tag to compare

@dimadeush dimadeush released this 03 May 17:45

phpcpd 8.2.1 release. Fixed codefragment value for xml report.

v8.2.0

Choose a tag to compare

@dimadeush dimadeush released this 01 May 15:24

phpcpd 8.2.0 release. Added possibility to generate html report, extended report xml file, fixed some bugs, updated documentation.

v8.1.1

Choose a tag to compare

@dimadeush dimadeush released this 13 Apr 16:46

phpcpd 8.1.1 release. Available installation via composer.

v8.1.0

Choose a tag to compare

@dimadeush dimadeush released this 23 Mar 17:01

phpcpd 8.1.0 release. Added Suffix Tree-based algorithm for code clone detection (experimental), added progress bar. Made codebase refactoring. Updated packages: sebastian/cli-parser, sebastian/version, phpunit/php-file-iterator, phpunit/php-timer. Updated tests to the PHPUnit 12.