Passed
Push — master ( 146be5...1e12ef )
by ANTHONIUS
06:12
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
/*
4
 * This file is part of the doyo/code-coverage project.
5
 *
6
 * (c) Anthonius Munthi <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Doyo\Behat\CodeCoverage\Controller;
15
16
use Behat\Testwork\Cli\Controller;
17
use Symfony\Component\Console\Command\Command as SymfonyCommand;
18
use Symfony\Component\Console\Input\InputInterface;
19
use Symfony\Component\Console\Input\InputOption;
20
use Symfony\Component\Console\Output\OutputInterface;
21
22
class CliController implements Controller
23
{
24 1
    public function configure(SymfonyCommand $command)
25
    {
26 1
        $command->addOption('coverage', null, InputOption::VALUE_NONE, 'Collecting code coverage');
27
    }
28
29
    public function execute(InputInterface $input, OutputInterface $output)
30
    {
31
        // TODO: Implement execute() method.
32
    }
33
}
34