summaryrefslogtreecommitdiff
blob: bece97f17ce0b151ff6d854dc1eb94c7a606bf5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/* Autoloader for composer and its dependencies */

$vendorDir = '/usr/share/php';
if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
    require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
}

\Fedora\Autoloader\Autoload::addPsr4(
  'Composer\\',
  __DIR__ . '/../src/Composer'
);

// Dependencies
\Fedora\Autoloader\Dependencies::required(array(
	$vendorDir . '/JsonSchema/autoload.php',
	$vendorDir . '/Composer/CaBundle/autoload.php',
	$vendorDir . '/Composer/Semver/autoload.php',
	$vendorDir . '/Composer/Spdx/autoload.php',
	$vendorDir . '/Composer/XdebugHandler/autoload.php',
	$vendorDir . '/Seld/JsonLint/autoload.php',
	$vendorDir . '/Symfony/Component/Console/autoload.php',
	$vendorDir . '/Symfony/Component/Finder/autoload.php',
	$vendorDir . '/Symfony/Component/Process/autoload.php',
	$vendorDir . '/Symfony/Component/Filesystem/autoload.php',
	$vendorDir . '/Seld/PharUtils/autoload.php',
	$vendorDir . '/Psr/Log/autoload.php',
));