Details
Description
If you specify multiple directories to exclude via the sonar.phpcpd.excludes property, only the first directory is excluded. This is because phpcpd requires a separate --exclude parameter for each directory to skip, but the Sonar plug-in is generating a space-separated list. I believe that this can be fixed fairly easily through changes to the PhpCpdConfiguration::getExcludePackages() method.
Gennadiy, would you mind taking care of this issue? This should be pretty straightforward.