for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the doyo/code-coverage project.
*
* (c) Anthonius Munthi <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Doyo\Behat\CodeCoverage\Controller;
use Behat\Testwork\Cli\Controller;
use Symfony\Component\Console\Command\Command as SymfonyCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class CliController implements Controller
{
public function configure(SymfonyCommand $command)
$command->addOption('coverage', null, InputOption::VALUE_NONE, 'Collecting code coverage');
}
public function execute(InputInterface $input, OutputInterface $output)
// TODO: Implement execute() method.