Passed
Push — master ( 2ee0d8...7d70f7 )
by SignpostMarv
03:18
created

Command::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 2
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
* @author SignpostMarv
4
*/
5
declare(strict_types=1);
6
7
namespace SignpostMarv\DaftFramework\Symfony\Console\Command;
8
9
use BadMethodCallException;
10
use SignpostMarv\DaftFramework\AttachDaftFramework;
11
use Symfony\Component\Console\Command\Command as Base;
12
use Symfony\Component\Console\Input\InputInterface;
13
use Symfony\Component\Console\Output\OutputInterface;
14
15
abstract class Command extends Base
16
{
17
    use AttachDaftFramework;
18
19
    public function execute(InputInterface $input, OutputInterface $output) : int
20
    {
21
        throw new BadMethodCallException('command body not implemented!');
22
    }
23
}
24