Completed
Push — develop ( a4d24a...3b0f03 )
by Peter
07:34
created

bootstrap.php ➔ createApp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
/**
3
 * Webino (http://webino.sk/)
4
 *
5
 * @link        https://github.com/webino/WebinoDbDump/ for the canonical source repository
6
 * @copyright   Copyright (c) 2014-2015 Webino, s. r. o. (http://webino.sk/)
7
 * @license     BSD-3-Clause
8
 */
9
10
namespace WebinoDebug\Test;
11
12
use Zend\Mvc\Application;
13
14
// Change directory to our testing application
15
chdir(__DIR__ . '/../._test/ZendSkeletonApplication');
16
17
/**
18
 * Initialize test resources autoloader
19
 */
20
require __DIR__ . '/resources/init_autoloader.php';
21
22
/**
23
 * Application factory
24
 */
25
function createApp() {
26
    return Application::init(require 'config/application.config.php');
27
}
28