Passed
Push — master ( 146be5...1e12ef )
by ANTHONIUS
06:12
created

CliController::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 2
dl 0
loc 2
ccs 0
cts 0
cp 0
crap 2
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