fixing php syntax for proper coding conventions