changing php code sniffer to run as pear package, fixed code to match PSR2 code standard