Completed
Push — master ( f7bed6...7b8b9a )
by Gabriel
05:48 queued 11s
created

bootstrap.php ➔ app()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
use Nip\Container\Container;
4
5
require dirname(__DIR__).'/vendor/autoload.php';
6
7
define('PROJECT_BASE_PATH', __DIR__ . '/..');
8
define('TEST_BASE_PATH', __DIR__);
9
define('TEST_FIXTURE_PATH', __DIR__ . DIRECTORY_SEPARATOR . 'fixtures');
10
11
if (!function_exists('app')) {
12
    function app() {
13
        return Container::getInstance();
14
    }
15
}
16