Passed
Pull Request — master (#22)
by
unknown
14:48 queued 12:08
created

CodeCoverageController::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
eloc 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 1
1
<?php
2
/**
3
 * Behat Code Coverage
4
 */
5
declare(strict_types=1);
6
7
namespace DVDoug\Behat\CodeCoverage\Controller\Cli;
8
9
use Behat\Testwork\Cli\Controller;
10
use Symfony\Component\Console\Command\Command;
11
use Symfony\Component\Console\Input\InputInterface;
12
use Symfony\Component\Console\Input\InputOption;
13
use Symfony\Component\Console\Output\OutputInterface;
14
15
class CodeCoverageController implements Controller
16
{
17 35
    public function configure(Command $command): void
18
    {
19 35
        $command->addOption('no-coverage', null, InputOption::VALUE_NONE, 'Skip Code Coverage generation');
20
    }
21
22
    /**
23
     * @codeCoverageIgnore
24
     */
25
    public function execute(InputInterface $input, OutputInterface $output): void
26
    {
27
    }
28
}
29