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

App::load_schemas()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 11
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 8
CRAP Score 3.0123

Importance

Changes 0
Metric Value
dl 0
loc 11
ccs 8
cts 9
cp 0.8889
rs 9.4285
c 0
b 0
f 0
cc 3
eloc 8
nc 3
nop 1
crap 3.0123
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