title: Fixing "Line indented incorrectly" error from phpcs
body: <p>I am validating PHP code with <a href="http://pear.php.net/package/PHP_CodeSniffer" rel="nofollow">phpcs</a> using:</p>
  
  <pre><code>phpcs --standard=PSR1 .
  </code></pre>
  
  <p>And it produces <a href="https://travis-ci.org/fulldecent/cameralife/builds/21399263" rel="nofollow">this output</a> which is littered with:</p>
  
  <pre><code>FILE: /home/travis/build/fulldecent/cameralife/setup/upgrade/upgrade.php
  --------------------------------------------------------------------------------
  FOUND 7 ERROR(S) AND 1 WARNING(S) AFFECTING 8 LINE(S)
  --------------------------------------------------------------------------------
   34 | ERROR   | Line indented incorrectly; expected 4 spaces, found 8
  ...
  </code></pre>
  
  <p>I tried to fix this with <a href="https://github.com/fabpot/PHP-CS-Fixer" rel="nofollow">php-cs-fixer</a>, however they do not support lexing and properly setting indentation, so it can only convert tabs. See: <a href="https://github.com/fabpot/PHP-CS-Fixer/issues/229" rel="nofollow">https://github.com/fabpot/PHP-CS-Fixer/issues/229</a></p>
  
  <p><strong>Since phpcs confidently tells me how many spaces are required, is there way I can correct to the required indentation for the entire project?</strong></p>