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

App::build_report_generator()   B

Complexity

Conditions 5
Paths 4

Size

Total Lines 20
Code Lines 14

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 13
CRAP Score 5

Importance

Changes 0
Metric Value
dl 0
loc 20
ccs 13
cts 13
cp 1
rs 8.8571
c 0
b 0
f 0
cc 5
eloc 14
nc 4
nop 1
crap 5
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