Skip to content
Discussion options

You must be logged in to vote

Hi @nartzis,

Yes! PHP 8.4 is fully supported. With the release of v2.0, phpcpd-next/phpcpd actually requires PHP 8.4+ as its minimum runtime version.

You can install or update to v2.0 via Composer:

composer require --dev phpcpd-next/phpcpd

Highlights in v2.0

PHP 8.4+ Native Support: Fully updated and tested for PHP 8.4, with zero runtime Composer dependencies.

Type-3 Duplication Engine: Combined Rabin-Karp and TokenBag engines for detecting exact, renamed, and reordered code duplication out of the box.

Orphan Detection (--orphans): Detects unreachable classes, traits, enums, and functions.

Configuration Layering: Full support for project-level phpcpd.ini configuration.

Feel free to update…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by nartzis
Comment options

You must be logged in to vote
1 reply
@lucianofedericopereira
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants