uzyn/opauth — pull request #25 by gigablah (2012-10-31 01:00:07+00:00)
Title: Use classmap autoload scheme in composer

Since Opauth doesn't actually use namespaces, a direct class-to-filepath map might be more appropriate. This is the same approach used by PHPUnit.

This is what the psr-0 scheme generates in `autoload_namespaces.php`:

return array(
'' => array($vendorDir . '/opauth/opauth/lib/Opauth/'),
);

Changing it to a classmap generates the following in `autoload_classmap.php`:

return array(
'Opauth' => $baseDir . '/vendor/opauth/opauth/lib/Opauth/Opauth.php',
'OpauthStrategy' => $baseDir . '/vendor/opauth/opauth/lib/Opauth/OpauthStrategy.php',
)

That avoids the fallback. If you're fine with this, I can help update the strategy repos as well.