Fix phpcpd support for composer and pear