I have projects that do not use the required version of phpunit or pdepend or phpcd or whatelse, what can I do?
If you are able to have several versions of code analysis tool on the same machine, just be sure that the correct one will be used by maven when launching mvn sonar:sonar.
You also have to ensure that the output file log is compatible with the one specified by the version of the tool you want to use.
I have created my own PHP_CodeSniffer Standard or PHPMD ruleset, can I use it with Sonar PHP ?
Yes, but with some extra work. Two possible cases :
1) Your work consisted in pure configuration: modify a ruleset for PHPMD or create a PHPCS Standard including Sniffs from existing standards.
In this case you'll be able to recreate your work directly from the Sonar UI for Quality Profiles
NB As per this version (0.6) you must check for the presence of your rules in Sonar profiles, as some PHPCS rule description is still missing.
If you don't find all of your rules, you simply fall in case 2.
2) You added code to the solutions: you developed Sniffs or PHP PMD Rules
In this case you will have to Extend the PHP coding rules