3
* This file bootstraps the test environment.
5
namespace Doctrine\Tests;
7
error_reporting(E_ALL | E_STRICT);
9
// register silently failing autoloader
10
spl_autoload_register(function($class)
12
if (0 === strpos($class, 'Doctrine\Tests\\')) {
13
$path = __DIR__.'/../../'.strtr($class, '\\', '/').'.php';
14
if (is_file($path) && is_readable($path)) {
22
require_once __DIR__ . "/../../../vendor/autoload.php";
24
\Doctrine\Common\Annotations\AnnotationRegistry::registerAutoloadNamespace(
25
'Doctrine\Tests\Common\Annotations\Fixtures', __DIR__ . '/../../'