Passed
Push — master ( 146be5...1e12ef )
by ANTHONIUS
06:12
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
/*
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