Details
Description
The option sonar.phpcpd.shouldRun allows user to disable phpcpd execution.
Moreover, there is another useless option named sonar.php.cpd.skip that does the same job.
A standard sonar option named sonar.cpd.skip already exists, and it should nice if phpcpd is disabled if this option is also set.
The rule could be:
if one of the options says disable it, phpcpd must be disabled.
As discussed Akram, I have kept both sonar.php.cpd.skip and sonar.phpcpd.shouldRun as deprecated options (see SONARPLUGINS-975), and introduced sonar.cpd.skip option.
From 0.5 release though I will remove both of them and make it more "sonar compatible" with sonar.cpd.skip and sonar.cpd.php.skip options available, the latter taking the precedence.