7497f40
4120f0f
/* Autoloader for phpspec/phpspec and its dependencies */
7497f40
fcfd8c8
require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
4120f0f
fcfd8c8
\Fedora\Autoloader\Autoload::addPsr4('PhpSpec\\', __DIR__);
fcfd8c8
$vendorDir = stream_resolve_include_path('Symfony/Component/Console/Application.php');
fcfd8c8
\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\', dirname(dirname($vendorDir)));
7497f40
7497f40
/* spec tree in current dir, when exists */
7497f40
if (is_dir(getcwd().'/spec')) {
fcfd8c8
    \Fedora\Autoloader\Autoload::addPsr4('spec\\', getcwd().'/spec');
7497f40
}
4120f0f
fcfd8c8
// Dependencies (Rely on include_path as in PHPUnit dependencies + circular dependencies)
4120f0f
require_once 'phpspec/php-diff/autoload.php';
4120f0f
require_once 'Prophecy/autoload.php';
4120f0f
require_once 'SebastianBergmann/Exporter/autoload.php';
4120f0f
require_once 'Doctrine/Instantiator/autoload.php';