Application   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 8
c 1
b 0
f 0
dl 0
loc 13
ccs 0
cts 8
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
namespace Tarantool\JobQueue\Console;
4
5
use Symfony\Component\Console\Application as BaseApplication;
6
use Tarantool\JobQueue\Console\Command\KickCommand;
7
use Tarantool\JobQueue\Console\Command\PutCommand;
8
use Tarantool\JobQueue\Console\Command\RunCommand;
9
use Tarantool\JobQueue\Console\Command\StatsCommand;
10
use Tarantool\JobQueue\Console\Command\TruncateCommand;
11
12
class Application extends BaseApplication
13
{
14
    private const VERSION = '0.x-DEV';
15
16
    public function __construct()
17
    {
18
        parent::__construct('Tarantool JobQueue', self::VERSION);
19
20
        $this->add(new KickCommand());
21
        $this->add(new PutCommand());
22
        $this->add(new RunCommand());
23
        $this->add(new StatsCommand());
24
        $this->add(new TruncateCommand());
25
    }
26
}
27