summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-03-09 10:21:25 -0500
committerBrian Evans <grknight@gentoo.org>2017-03-09 11:21:27 -0500
commitf055eeabd8f0dfebc45b4b116195f59c8ff23660 (patch)
tree88e1bb8b3be9604afdb839c19851edb5d8fb964e /dev-php/sebastian-global-state/files
parentdev-php/sebastian-object-enumerator: New package for an unbundled phpunit (diff)
downloadgentoo-f055eeabd8f0dfebc45b4b116195f59c8ff23660.tar.gz
gentoo-f055eeabd8f0dfebc45b4b116195f59c8ff23660.tar.bz2
gentoo-f055eeabd8f0dfebc45b4b116195f59c8ff23660.zip
dev-php/sebastian-global-state: New package for an unbundled phpunit
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-php/sebastian-global-state/files')
-rw-r--r--dev-php/sebastian-global-state/files/autoload.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-php/sebastian-global-state/files/autoload.php b/dev-php/sebastian-global-state/files/autoload.php
new file mode 100644
index 000000000000..e7c855e9b3f3
--- /dev/null
+++ b/dev-php/sebastian-global-state/files/autoload.php
@@ -0,0 +1,18 @@
+<?php
+/* Autoloader for dev-php/sebastian-global-state */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addClassMap(
+ array(
+ 'sebastianbergmann\globalstate\blacklist' => '/Blacklist.php',
+ 'sebastianbergmann\globalstate\codeexporter' => '/CodeExporter.php',
+ 'sebastianbergmann\globalstate\exception' => '/Exception.php',
+ 'sebastianbergmann\globalstate\restorer' => '/Restorer.php',
+ 'sebastianbergmann\globalstate\runtimeexception' => '/RuntimeException.php',
+ 'sebastianbergmann\globalstate\snapshot' => '/Snapshot.php',
+ ),
+ __DIR__
+);