I have been using phpcpd with grumphp for a while to detect duplicated code blocks on the project, and so far it worked like a charm, but right now Im working on migrating my project to PHP 8.3 and phpcpd seems to be abandoned and no longer maintained with the latest version being for PHP 7.3, so I need to find another way to keep that functionality. Any idea of a similar tool that can be used for that purpose?
I tried looking at some other famous libraries like phpstan or phpmd but they don’t quite offer that feature in their code checking.
In my desperation I tried looking for a fork of the old project to see if someone decided to take over the mantle, and I did find one fork that has potential, but it looks quite undercooked and doesn’t inspire confidence yet, so is there any alternative to phpcpd for newer versions of PHP?
4