diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-21 18:00:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-21 18:00:10 +0100 |
commit | 265dbe5dbc14c199299496c6db8fce3f76647015 (patch) | |
tree | ab18b5617d138f6684566b619405090989d55a2c /dev-php/composer/files/autoload-r1.php | |
parent | 586819755b4dbfdffdc8a725ab7c0f86095b8489 (diff) |
gentoo resync : 21.09.2018
Diffstat (limited to 'dev-php/composer/files/autoload-r1.php')
-rw-r--r-- | dev-php/composer/files/autoload-r1.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-php/composer/files/autoload-r1.php b/dev-php/composer/files/autoload-r1.php new file mode 100644 index 000000000000..bece97f17ce0 --- /dev/null +++ b/dev-php/composer/files/autoload-r1.php @@ -0,0 +1,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', +)); |