Hi Sampath,
You can check for coding style violations (which also checks indenting) with command line : 
phpcs filename.php