composer/composer — Issue #102: generated autoload namespace contain redundant code
Author: marijn
Created: 2011-11-08 09:01:43+00:00
State: open

The `autoload_namespaces.php` file contains some redundant code:

```php
dirname(dirname(__DIR__)).'/vendor/symfony/class-loader/',
'Symfony' => dirname(dirname(__DIR__)).'/vendor/symfony/symfony/src/',
'Silex' => dirname(dirname(__DIR__)).'/vendor/silex/silex/src/',
);
```
I've not been able to see why we need to call `dirname()` in the first place on the `__DIR__` constant but if we have to, one time seems sufficient... Or am I missing something..?