We are trying to add codesniffer, psr1, psr2, pmd php rules in Sonarqube for better code analysis. But in sonarqube 6.1(that we are currently using), we are unable to find any plugin that that help us with these. Also we are not able to import .xml files or rules file to add custom rules. If in case any previous version can help us with this problem please provide the way. We want to make sonarqube compatible to cruise control that we are using at our organisation.