Showing 2 of 2 total issues
File GenerateCommand.php
has 254 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace FeatureBrowser\FeatureBrowser\Cli;
use Behat\Gherkin\Keywords\ArrayKeywords;
Method renderViews
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function renderViews()
{
$viewsDirectory = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'Resources' . DIRECTORY_SEPARATOR . 'views';
$macrosDirectory = $viewsDirectory . DIRECTORY_SEPARATOR . 'macros';
$templatesDirectories = [$viewsDirectory, $macrosDirectory];