summaryrefslogtreecommitdiffstats
path: root/phpspec-autoload.php
blob: fff41bcacbfdabd2070060feb607a33ca6a16de6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
require_once 'phpspec/php-diff/autoload.php';
require_once 'Prophecy/autoload.php';

$vendorDir = '/usr/share/php';
require_once $vendorDir . '/Symfony/Component/ClassLoader/UniversalClassLoader.php';
use Symfony\Component\ClassLoader\UniversalClassLoader;

$loader = new UniversalClassLoader();
$loader->registerNamespaces(array(
    'Doctrine\\Instantiator'              => $vendorDir,
    'SebastianBergmann'                   => $vendorDir,
    'Symfony\\Component'                  => $vendorDir,
    'PhpSpec'                             => dirname(__DIR__),
));
$loader->register();