sensiolabs/SensioDistributionBundle — pull request #108 by goetas (2014-01-22 15:55:45+00:00)
Title: Check for composer autoloader

Is not always true that first autoloader is a composer autoloader.
using `spl_autoload_register` with `$prepend = true` will produce errors as:

*Fatal error: Cannot use object of type Closure as array in vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Composer/ScriptHandler.php on line 161*
or similar