Skip to content

Instantly share code, notes, and snippets.

@brobie
Created February 10, 2016 04:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brobie/d4d34fac482d56f9b309 to your computer and use it in GitHub Desktop.
Save brobie/d4d34fac482d56f9b309 to your computer and use it in GitHub Desktop.
$map = require __DIR__ . '/autoload_namespaces.php';
// Contents of autoload_namespaces.php ...
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Zend_' => array($vendorDir . '/magento/zendframework1/library'),
'Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'),
'Psr\\Log\\' => array($vendorDir . '/psr/log'),
'PHPMD\\' => array($vendorDir . '/phpmd/phpmd/src/main/php'),
'PDepend\\' => array($vendorDir . '/pdepend/pdepend/src/main/php'),
'OAuth\\Unit' => array($vendorDir . '/lusitanian/oauth/tests'),
'OAuth' => array($vendorDir . '/lusitanian/oauth/src'),
'MagentoHackathon\\Composer\\Magento' => array($vendorDir . '/magento/magento-composer-installer/src'),
'Less' => array($vendorDir . '/oyejorge/less.php/lib'),
'JsonSchema' => array($vendorDir . '/justinrainbow/json-schema/src'),
'Composer' => array($vendorDir . '/composer/composer/src'),
'Braintree' => array($vendorDir . '/braintree/braintree_php/lib'),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment