[ticket/11424] Following guidelines

Update based on guidelines mentioned for phpBB coding/programming.