Application   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 18
ccs 0
cts 3
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
/**
4
 * Moodle component manager.
5
 *
6
 * @author Luke Carrier <[email protected]>
7
 * @copyright 2016 Luke Carrier
8
 * @license GPL-3.0+
9
 */
10
11
namespace ComponentManager\Console;
12
13
use ComponentManager\DependencyInjection\ContainerAwareTrait;
14
use Symfony\Component\Console\Application as ConsoleApplication;
15
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
16
17
/**
18
 * Component manager application entry point.
19
 */
20
class Application extends ConsoleApplication
21
        implements ContainerAwareInterface {
22
    use ContainerAwareTrait;
23
24
    /**
25
     * Release name.
26
     *
27
     * @var string
28
     */
29
    const VERSION = '0.5.0';
30
31
    /**
32
     * Initialiser.
33
     */
34
    public function __construct() {
35
        parent::__construct('Component Manager', static::VERSION);
36
    }
37
}
38