I normally follow the PEAR standards (http://pear.php.net/manual/en/standards.indenting.php ) and I'm not sure about MantisBT Coding standards. Please merge and make the necessary changes.