Fixed php linting errors