DrupalConsoleStack
has 42 functions (exceeds 20 allowed). Consider refactoring.
class DrupalConsoleStack extends CommandStack
{
use CommandArguments {
option as optionNoEqualSign;
The class DrupalConsoleStack has 38 public methods. Consider refactoring DrupalConsoleStack to keep number of public methods under 10.
class DrupalConsoleStack extends CommandStack
{
use CommandArguments {
option as optionNoEqualSign;
The class DrupalConsoleStack has 41 non-getter- and setter-methods. Consider refactoring DrupalConsoleStack to keep number of methods under 25.
class DrupalConsoleStack extends CommandStack
{
use CommandArguments {
option as optionNoEqualSign;
The class DrupalConsoleStack has an overall complexity of 57 which is very high. The configured complexity threshold is 50.
class DrupalConsoleStack extends CommandStack
{
use CommandArguments {
option as optionNoEqualSign;
File DrupalConsoleStack.php
has 304 lines of code (exceeds 250 allowed). Consider refactoring.
<?php
namespace DigipolisGent\Robo\Task\DrupalConsole;
use Robo\Common\CommandArguments;
Each class must be in a namespace of at least one level (a top-level vendor name)
class RoboFile extends \Robo\Tasks
The method drupal has a boolean flag argument $assumeYes, which is a certain sign of a Single Responsibility Principle violation.
public function drupal($command, $assumeYes = true)
The method maintenance has a boolean flag argument $mode, which is a certain sign of a Single Responsibility Principle violation.
public function maintenance($mode = true)
Trait name "loadTasks" is not in camel caps format
trait loadTasks