Code Duplication    Length = 5-8 lines in 2 locations

lib/Command/Index.php 1 location

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

lib/Command/Live.php 1 location

@@ 457-464 (lines=8) @@
454
		$this->cliService->displayPanel('resultsPanel', self::PANEL_RESULT);
455
		$this->cliService->displayPanel('errorsPanel', self::PANEL_ERRORS);
456
457
		if ($commands) {
458
			$this->cliService->displayPanel('navigation', self::PANEL_COMMANDS_NAVIGATION);
459
			if ($this->runner->isPaused()) {
460
				$this->cliService->displayPanel('commands', self::PANEL_COMMANDS_PAUSED);
461
			} else {
462
				$this->cliService->displayPanel('commands', self::PANEL_COMMANDS_ROOT);
463
			}
464
		}
465
466
		$this->runner->setInfoArray(
467
			[