Code Duplication    Length = 5-8 lines in 2 locations

lib/Command/Index.php 1 location

@@ 553-557 (lines=5) @@
550
551
		if ($options->getOptionBool(self::INDEX_OPTION_NO_READLINE, false) === false) {
552
			$this->cliService->displayPanel('navigation', self::PANEL_COMMANDS_NAVIGATION);
553
			if ($this->runner->isPaused()) {
554
				$this->cliService->displayPanel('commands', self::PANEL_COMMANDS_PAUSED);
555
			} else {
556
				$this->cliService->displayPanel('commands', self::PANEL_COMMANDS_ROOT);
557
			}
558
		}
559
560
		$this->runner->setInfoArray(

lib/Command/Live.php 1 location

@@ 440-447 (lines=8) @@
437
		$this->cliService->displayPanel('resultsPanel', self::PANEL_RESULT);
438
		$this->cliService->displayPanel('errorsPanel', self::PANEL_ERRORS);
439
440
		if ($commands) {
441
			$this->cliService->displayPanel('navigation', self::PANEL_COMMANDS_NAVIGATION);
442
			if ($this->runner->isPaused()) {
443
				$this->cliService->displayPanel('commands', self::PANEL_COMMANDS_PAUSED);
444
			} else {
445
				$this->cliService->displayPanel('commands', self::PANEL_COMMANDS_ROOT);
446
			}
447
		}
448
449
		$this->runner->setInfoArray(
450
			[