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

CliController   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 9
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A configure() 0 3 1
A execute() 0 2 1
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