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

App::run()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 21
Code Lines 12

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 11
CRAP Score 2.0145

Importance

Changes 0
Metric Value
dl 0
loc 21
ccs 11
cts 13
cp 0.8462
rs 9.3142
c 0
b 0
f 0
cc 2
eloc 12
nc 2
nop 1
crap 2.0145
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