Completed
Push — master ( 86b2cd...b16d12 )
by Richard
03:26
created

App::load_configs()   A

Complexity

Conditions 4
Paths 4

Size

Total Lines 14
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 11
CRAP Score 4.0092

Importance

Changes 0
Metric Value
dl 0
loc 14
ccs 11
cts 12
cp 0.9167
rs 9.2
c 0
b 0
f 0
cc 4
eloc 10
nc 4
nop 1
crap 4.0092
1
<?php
2
/******************************************************************************
3
 * An implementation of dicto (scg.unibe.ch/dicto) in and for PHP.
4
 * 
5
 * Copyright (c) 2016 Richard Klees <[email protected]>
6
 *
7
 * This software is licensed under The MIT License. You should have received 
8
 * a copy of the license along with the code.
9
 */
10
11
namespace Lechimp\Dicto\App;
12
13
use Symfony\Component\Console\Application;
14
15
/**
16
 * The App to be run from a script.
17
 */
18
class App extends Application {
19
    public function __construct() {
20
        parent::__construct();
21
        ini_set('xdebug.max_nesting_level', 200);
22
23
        $this->add(new AnalyzeCommand());
24
        $this->add(new ReportCommand());
25
    }
26
}
27