Create::configure()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
ccs 0
cts 7
cp 0
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Releaser;
4
5
use Symfony\Component\Console\Command\Command;
6
use Symfony\Component\Console\Input\InputInterface;
7
use Symfony\Component\Console\Output\OutputInterface;
8
9
class Create extends Application
10
{
11
    protected function configure()
12
    {
13
        $this
14
            ->setName('create')
15
            ->setDescription('Creates a release')
16
        ;
17
    }
18
19
    protected function execute(InputInterface $input, OutputInterface $output)
20
    {
21
        $output->writeln('Hello World -- create release');
22
    }
23
}
24