]> git.pld-linux.org Git - packages/composer.git/blob - autoload-config.patch
fix autoload for spdx and semver
[packages/composer.git] / autoload-config.patch
1 --- composer-1.0.0-14.alpha11/vendor/composer/autoload_namespaces.php~  2015-11-25 18:29:26.000000000 +0200
2 +++ composer-1.0.0-14.alpha11/vendor/composer/autoload_namespaces.php   2015-11-25 18:29:59.220529712 +0200
3 @@ -4,6 +4,15 @@
4  
5  $vendorDir = dirname(dirname(__FILE__));
6  $baseDir = dirname($vendorDir);
7 +$pearDir = defined('PEAR_INSTALL_DIR') && PEAR_INSTALL_DIR ? PEAR_INSTALL_DIR . '/' : '/usr/share/pear/';
8 +$phpDir = defined('PHP_DATADIR') && PHP_DATADIR ? PHP_DATADIR . '/php/' : '/usr/share/php/';
9  
10  return array(
11 +    'Symfony\\Component\\Process\\' => array($pearDir),
12 +    'Symfony\\Component\\Finder' => array($pearDir),
13 +    'Symfony\\Component\\Console\\' => array($pearDir),
14 +    'Composer\\Spdx\\' => array($phpDir),
15 +    'Composer\\Semver\\' => array($phpDir),
16 +    'Seld\\JsonLint' => array($phpDir),
17 +    'JsonSchema' => array($phpDir),
18  );
This page took 0.082119 seconds and 3 git commands to generate.