Fix PHP syntax erros and Modify code to meet PSR-1 and PSR-2 code style guidelines