updating routes with PHPCS compatible code.

Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>