summaryrefslogtreecommitdiffstats
path: root/phan-autoload.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-11-24 16:42:23 +0100
committerRemi Collet <fedora@famillecollet.com>2016-11-24 16:42:23 +0100
commite20bd7365fe784bd06b21bd4f19bca6dda8b9ac9 (patch)
tree460a490076677fd6e3d445d9ffbdf6a73c2fe35a /phan-autoload.php
phan: 0.6, new package
Diffstat (limited to 'phan-autoload.php')
-rw-r--r--phan-autoload.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/phan-autoload.php b/phan-autoload.php
new file mode 100644
index 0000000..323e5b1
--- /dev/null
+++ b/phan-autoload.php
@@ -0,0 +1,9 @@
+<?php
+/* Autoloader for etsy/phan and its dependencies */
+
+require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+
+\Fedora\Autoloader\Autoload::addPsr4('Phan\\', __DIR__);
+\Fedora\Autoloader\Dependencies::required(array(
+ '/usr/share/php/Symfony/Component/Console/autoload.php',
+));