summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-03-09 10:24:15 -0500
committerBrian Evans <grknight@gentoo.org>2017-03-09 11:21:38 -0500
commit5054d7f897bd63777534e22424e6ab96e4d734f3 (patch)
tree291038d3f8ac33ee001729536d6db3ec4bd437e3 /dev-php/sebastian-environment/files
parentdev-php/sebastian-exporter: New package for an unbundled phpunit (diff)
downloadgentoo-5054d7f897bd63777534e22424e6ab96e4d734f3.tar.gz
gentoo-5054d7f897bd63777534e22424e6ab96e4d734f3.tar.bz2
gentoo-5054d7f897bd63777534e22424e6ab96e4d734f3.zip
dev-php/sebastian-environment: New package for an unbundled phpunit
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-php/sebastian-environment/files')
-rw-r--r--dev-php/sebastian-environment/files/autoload.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-php/sebastian-environment/files/autoload.php b/dev-php/sebastian-environment/files/autoload.php
new file mode 100644
index 000000000000..3abd16ee357b
--- /dev/null
+++ b/dev-php/sebastian-environment/files/autoload.php
@@ -0,0 +1,14 @@
+<?php
+/* Autoloader for dev-php/sebastian-environment */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addClassMap(
+ array(
+ 'sebastianbergmann\environment\console' => '/Console.php',
+ 'sebastianbergmann\environment\runtime' => '/Runtime.php',
+ ),
+ __DIR__
+);