Posts

Showing posts from June, 2015

Sonar setup with local for PHP

Hi All, Please setup sonar in local machines. first validate your code in local, whatever you are committing the code should be 100% compliance. Please follow following instructions Installation Steps :         To setup a sonar for PHP we need to have following on our machine. JDK for Window/linux. Winant for Windows or ant for linux. PHP PEAR Install XDebug Sonar 3.6.3 http://dist.sonar.codehaus.org/sonar-3.6.3.zip Sonar PHP Plugin Code Sniffers for Drupal / Moodle and it's ruleset for sonar. build.xml file for creating a ant task. JDK for Window/Linux         Download and install the latest JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html on windows machine. Or can use smb://192.168.102.226/software/Java/Windows .         After installation Right click on “My Computer” >> ...