From 504f16e161f810dc378b19b107db7a96b369e677 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 4 Jun 2015 13:29:13 +0200 Subject: php-phpunit-FinderFacade: 1.2.0 + cleanup --- autoload.php.in | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 autoload.php.in (limited to 'autoload.php.in') diff --git a/autoload.php.in b/autoload.php.in new file mode 100644 index 0000000..b3c9b67 --- /dev/null +++ b/autoload.php.in @@ -0,0 +1,35 @@ +registerNamespaces(array( + 'Symfony\\Component\\Finder' => $vendorDir, + 'Symfony\\Component\\ClassLoader' => $vendorDir, +)); +$loader->register(); + +// @codingStandardsIgnoreFile +// @codeCoverageIgnoreStart +spl_autoload_register( + function($class) { + static $classes = NULL; + + if ($classes === NULL) { + $classes = array( + ___CLASSLIST___ + ); + } + + $cn = strtolower($class); + + if (isset($classes[$cn])) { + require ___BASEDIR___$classes[$cn]; + } + } +); +// @codeCoverageIgnoreEnd -- cgit