...
The plugin enables analysis of PHP projects within Sonar.
It is compatible with the Issues Report plugin to run pre-commit local analysis.
It relies on well-known external tools: PHPUnit, PHP Depend, PHPMD and PHP_CodeSniffer.
...
Metrics
See Metrics documentation page.
Extending Coding Rules
See the tutorial to extend coding rules with PHP_CodeSniffer and/or PHPMD.
...

