File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 11
11
'php composer.phar install ' .$ nl );
12
12
}
13
13
14
- use Doctrine \Common \Annotations \AnnotationRegistry ;
15
-
16
- AnnotationRegistry::registerLoader (function ($ class ) use ($ loader ) {
17
- $ loader ->loadClass ($ class );
18
-
19
- // this was class_exists($class, false) i.e. do not autoload.
20
- // this is required so that custom annotations (e.g. TreeUiBundle
21
- // annotations) are autoloaded - but they should be found by the
22
- // composer loader above.
23
- //
24
- // This probably slows things down.
25
- //
26
- // @todo: Fix me.
27
- return class_exists ($ class );
28
- });
29
-
30
- AnnotationRegistry::registerFile ($ vendorDir .'/doctrine/phpcr-odm/lib/Doctrine/ODM/PHPCR/Mapping/Annotations/DoctrineAnnotations.php ' );
31
-
32
14
if (!defined ('CMF_TEST_ROOT_DIR ' )) {
33
15
define ('CMF_TEST_ROOT_DIR ' , realpath (__DIR__ .'/.. ' ));
34
16
}
You can’t perform that action at this time.
0 commit comments