These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | // Tests/bootstrap.php |
||
3 | $loader = @include __DIR__ . '/../vendor/autoload.php'; |
||
4 | if (!$loader) { |
||
5 | die(<<<'EOT' |
||
6 | You must set up the project dependencies, run the following commands: |
||
7 | wget http://getcomposer.org/composer.phar |
||
8 | php composer.phar install |
||
9 | EOT |
||
10 | ); |
||
11 | } |
||
12 | |||
13 | use Doctrine\Common\ClassLoader; |
||
14 | |||
15 | $classLoader = new ClassLoader('Doctrine\Tests', __DIR__ . '/../tests'); |
||
0 ignored issues
–
show
|
|||
16 | $classLoader->register(); |
||
17 | |||
18 | Doctrine\Common\Annotations\AnnotationRegistry::registerAutoloadNamespace( |
||
19 | 'Doctrine\ODM\CouchDB\Mapping\Annotations', __DIR__ . '/../lib' |
||
20 | ); |
||
21 | |||
22 | |||
23 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.