Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (24 sloc) 1.015 kb
<?php
require_once 'vendor/UniversalClassLoader.php';
$loader = new UniversalClassLoader();
$loader->registerNamespaces(array(
'Codeception' => __DIR__ . '/src',
'Monolog' => __DIR__ . '/vendor',
'Symfony\Component' => __DIR__ . '/vendor',
));
$loader->register(true);
if (stream_resolve_include_path('PHPUnit/Autoload.php') ) {
include_once 'PHPUnit/Autoload.php';
} elseif (stream_resolve_include_path('vendor/EHER/PHPUnit/src/phpunit/PHPUnit/Autoload.php')) {
include_once 'vendor/EHER/PHPUnit/src/phpunit/PHPUnit/Autoload.php';
}
if (stream_resolve_include_path('mink/autoload.php')) {
include_once 'mink/autoload.php';
} elseif (file_exists('vendor/autoload.php') && !class_exists('Composer\Autoload\ClassLoader')) {
include_once 'vendor/autoload.php';
// hardcode fix to broken goutte. Fuck this composer and friends!
if (!class_exists('Goutte\Client')) {
$loader->registerNamespace('Goutte','vendor/fabpot/goutte');
$loader->register(true);
}
}
Jump to Line
Something went wrong with that request. Please try again.