|
@@ -2,14 +2,14 @@ |
|
|
block discarded – undo |
|
2
|
2
|
|
|
3
|
3
|
use Doctrine\Common\Annotations\AnnotationRegistry; |
|
4
|
4
|
|
|
5
|
|
-$file = __DIR__ . '/../vendor/autoload.php'; |
|
|
5
|
+$file = __DIR__.'/../vendor/autoload.php'; |
|
6
|
6
|
if (!file_exists($file)) { |
|
7
|
7
|
throw new RuntimeException('Install dependencies to run test suite.'); |
|
8
|
8
|
} |
|
9
|
9
|
|
|
10
|
10
|
$loader = require $file; |
|
11
|
11
|
|
|
12
|
|
-require __DIR__ . '/app/TestKernel.php'; |
|
|
12
|
+require __DIR__.'/app/TestKernel.php'; |
|
13
|
13
|
|
|
14
|
14
|
if (\class_exists(AnnotationRegistry::class)) { |
|
15
|
15
|
AnnotationRegistry::registerLoader([$loader, 'loadClass']); |
Please login to merge, or discard this patch.