PHPCodeSniffer fixes for main commands and PHP syntax errors #48