Indentation cleanup

Cleaned up the indentation to use 2 spaces for Ruby and tabs for PHP code.