title: PHP / Composer cannot redeclare
body: <p>I was happily working away in my development environment and suddenly I started getting the following error:</p>
  
  <blockquote>
    <p>PHP Fatal error:  Cannot redeclare composerRequire7a368ac394ae1d2e857becf2a235ebaa() (previously declared in [APP_ROOT]/vendor/composer/autoload_real.php:56) in [APP_ROOT]/vendor/composer/autoload_real.php on line 59</p>
  </blockquote>
  
  <p>I haven't made any changes to speak of in composer dependencies (although I think I did do a <code>composer update</code> somewhere in that timeframe but no changes to the dependencies/packages used so nothing big should have changed. </p>
  
  <p>Notably, when I checkout the repo on my laptop I do NOT get this error but if I <code>git clone</code> a clean repo and then <code>composer install</code> on my main development machine I DO get this error. So I'm assuming it must have some machine-specific origin but I'm running out of ideas on what that might be. </p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <blockquote>
    <p><strong>Note</strong>: I'm running PHP 5.3.28 on OSX; my app uses namespacing and is PSR0 compliant</p>
  </blockquote>
  
  <hr>
  
  <p>Also of note is that I'm running PHPUnit 4.0.17 and the error is triggered at the very first stages of trying to run a unit test (it doesn't matter WHICH unit test). Here's the stack trace:</p>
  
  <blockquote>
  <pre><code>0.0009     636648   1. {main}() [APP_BASE]/vendor/phpunit/phpunit/phpunit:0
  0.0465    1423664   2. PHPUnit_TextUI_Command::main() [APP_BASE]/vendor/phpunit/phpunit/phpunit:54
  0.0465    1424280   3. PHPUnit_TextUI_Command-&gt;run() [APP_BASE]/vendor/phpunit/phpunit/src/TextUI/Command.php:132
  0.0465    1424280   4. PHPUnit_TextUI_Command-&gt;handleArguments() [APP_BASE]/vendor/phpunit/phpunit/src/TextUI/Command.php:141
  0.0674    2123344   5. PHPUnit_TextUI_Command-&gt;handleBootstrap() [APP_BASE]/vendor/phpunit/phpunit/src/TextUI/Command.php:638
  0.0681    2139872   6. PHPUnit_Util_Fileloader::checkAndLoad() [APP_BASE]/vendor/phpunit/phpunit/src/TextUI/Command.php:808
  0.0681    2140008   7. PHPUnit_Util_Fileloader::load() [APP_BASE]/vendor/phpunit/phpunit/src/Util/Fileloader.php:77
  0.0774    2144176   8. include_once('[APP_BASE]/tests/test-loader.php') [APP_BASE]/vendor/phpunit/phpunit/src/Util/Fileloader.php:93
  0.0775    2146736   9. include('[APP_BASE]/vendor/autoload.php') [APP_BASE]/tests/test-loader.php:2
  </code></pre>
  </blockquote>