Skip to content

Commit 212c94e

Browse files
committed
CoverageController: cleanup code, rename to CodeCoverageController
1 parent 23302c4 commit 212c94e

File tree

2 files changed

+44
-67
lines changed

2 files changed

+44
-67
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
/**
3+
* This file is part of the leanphp/behat-code-coverage package
4+
*
5+
* @author ek9 <[email protected]>
6+
*
7+
* @license BSD-2-Clause
8+
*
9+
* For the full copyright and license information, please see the LICENSE file
10+
* that was distributed with this source code.
11+
*/
12+
13+
namespace LeanPHP\Behat\CodeCoverage\Controller\Cli;
14+
15+
use Behat\Testwork\Cli\Controller;
16+
use Symfony\Component\Console\Command\Command;
17+
use Symfony\Component\Console\Input\InputInterface;
18+
use Symfony\Component\Console\Input\InputOption;
19+
use Symfony\Component\Console\Output\OutputInterface;
20+
use Symfony\Component\DependencyInjection\ContainerBuilder;
21+
22+
/**
23+
* Code Coverage Cli Controller
24+
*
25+
* @author Danny Lewis
26+
*/
27+
class CodeCoverageController implements Controller
28+
{
29+
/**
30+
* {@inheritdoc}
31+
*/
32+
public function configure(Command $command)
33+
{
34+
$command->addOption('no-coverage', null, InputOption::VALUE_NONE, 'Skip Code Coverage generation');
35+
}
36+
37+
/**
38+
* {@inheritdoc}
39+
*/
40+
public function execute(InputInterface $input, OutputInterface $output)
41+
{
42+
}
43+
44+
}

src/CoverageController.php

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)