Completed
Push — master ( 6b1baa...9e395d )
by ANTHONIUS
16s queued 11s
created

CliController::configure()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Doyo\Behat\CodeCoverage\Controller;
4
5
use Behat\Testwork\Cli\Controller;
6
use Symfony\Component\Console\Command\Command as SymfonyCommand;
7
use Symfony\Component\Console\Input\InputInterface;
8
use Symfony\Component\Console\Input\InputOption;
9
use Symfony\Component\Console\Output\OutputInterface;
10
11
class CliController implements Controller
12
{
13 1
    public function configure(SymfonyCommand $command)
14
    {
15 1
        $command->addOption('coverage', null, InputOption::VALUE_NONE, 'Collecting code coverage');
16
    }
17
18
    public function execute(InputInterface $input, OutputInterface $output)
19
    {
20
        // TODO: Implement execute() method.
21
    }
22
}
23