make code meet psr2 coding standards