composer/composer — Issue #205: Failing to generate Coverage-Report
Author: digitalkaoz
Created: 2012-01-15 11:38:48+00:00
State: open

Hey,

currently its impossible to generate a coverage report `phpunit --coverage-text` for the following Reason:

Fatal error: Cannot redeclare class Composer\Autoload\ClassLoader in /composer/src/Composer/Autoload/ClassLoader.php

its because the `tests/bootstrap.php` requires the `vendor/.composer/autoload.php`and there is a `ClassLoader` in the same namespace defined.

What would be the best solution? to rename the ClassLoader in the generated `autoload.php`, move it into another namespace ?

i would provide a patch if we know how we want it.