Code Duplication    Length = 5-8 lines in 2 locations

lib/Command/Index.php 1 location

@@ 564-568 (lines=5) @@
561
562
		if ($options->getOptionBool(self::INDEX_OPTION_NO_READLINE, false) === false) {
563
			$this->cliService->displayPanel('navigation', self::PANEL_COMMANDS_NAVIGATION);
564
			if ($this->runner->isPaused()) {
565
				$this->cliService->displayPanel('commands', self::PANEL_COMMANDS_PAUSED);
566
			} else {
567
				$this->cliService->displayPanel('commands', self::PANEL_COMMANDS_ROOT);
568
			}
569
		}
570
571
		// full list of info that can be edited

lib/Command/Live.php 1 location

@@ 478-485 (lines=8) @@
475
		$this->cliService->displayPanel('resultsPanel', self::PANEL_RESULT);
476
		$this->cliService->displayPanel('errorsPanel', self::PANEL_ERRORS);
477
478
		if ($commands) {
479
			$this->cliService->displayPanel('navigation', self::PANEL_COMMANDS_NAVIGATION);
480
			if ($this->runner->isPaused()) {
481
				$this->cliService->displayPanel('commands', self::PANEL_COMMANDS_PAUSED);
482
			} else {
483
				$this->cliService->displayPanel('commands', self::PANEL_COMMANDS_ROOT);
484
			}
485
		}
486
487
		$this->runner->setInfoArray(
488
			[