Completed
Push — master ( 038441...1d149c )
by Tim
19s queued 11s
created

bootstrap.php (1 issue)

Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/**
4
 * boostrap.php
5
 *
6
 * NOTICE OF LICENSE
7
 *
8
 * This source file is subject to the Open Software License (OSL 3.0)
9
 * that is available through the world-wide-web at this URL:
10
 * http://opensource.org/licenses/osl-3.0.php
11
 *
12
 * PHP version 5
13
 *
14
 * @author    Tim Wagner <[email protected]>
15
 * @copyright 2015 TechDivision GmbH <[email protected]>
16
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
 * @link      http://github.com/appserver-io/routlt
18
 * @link      http://www.appserver.io
19
 */
20
21
use Doctrine\Common\Annotations\AnnotationRegistry;
22
23
// configure the autoloader
24
$loader = require 'vendor/autoload.php';
25
$loader->add('AppserverIo\\Routlt', 'src');
26
27
// load the annotation registries for the annotation reader
28
AnnotationRegistry::registerAutoloadNamespaces(
0 ignored issues
show
Deprecated Code introduced by
The method Doctrine\Common\Annotati...terAutoloadNamespaces() has been deprecated with message: this method is deprecated and will be removed in doctrine/annotations 2.0 autoloading should be deferred to the globally registered autoloader by then. For now, use @example AnnotationRegistry::registerLoader('class_exists')

This method has been deprecated. The supplier of the class has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.

Loading history...
29
    array(
30
        'AppserverIo\Routlt\Annotations' => __DIR__ . '/src',
31
        'AppserverIo\Psr\EnterpriseBeans\Annotations' => __DIR__ . '/vendor/appserver-io-psr/epb/src'
32
    )
33
);
34