summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <hydrapolic@gmail.com>2018-09-07 13:24:05 +0200
committerThomas Deutschmann <whissi@gentoo.org>2018-09-20 14:00:25 +0200
commitc2f8dd5d0a2c25cf357cdca706e297306261e01e (patch)
treeeea805e1e86dd1d7265720a317005abf0cc42d7e /dev-php/composer/files
parentdev-php/xdebug-handler: add version 1.3.0 (diff)
downloadgentoo-c2f8dd5d0a2c25cf357cdca706e297306261e01e.tar.gz
gentoo-c2f8dd5d0a2c25cf357cdca706e297306261e01e.tar.bz2
gentoo-c2f8dd5d0a2c25cf357cdca706e297306261e01e.zip
dev-php/composer: bump to 1.7.2
Closes: https://bugs.gentoo.org/665426 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-php/composer/files')
-rw-r--r--dev-php/composer/files/autoload-r1.php28
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',
+));