move to new architecture for test - improve autoloading

This commit is contained in:
2017-07-04 15:34:28 +02:00
parent cf40c0dc76
commit 717845f799
15 changed files with 28 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
<?php
use Doctrine\Common\Annotations\AnnotationRegistry;
use Composer\Autoload\ClassLoader;
/** @var ClassLoader $loader */
$loader = require __DIR__.'/../../../../../vendor/autoload.php';
AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
return $loader;