protected function interact(InputInterface $input, OutputInterface $output) { // Work around a bug in Console which means the default command's input // is always considered to be interactive. if ($this->getName() === 'welcome' && isset($GLOBALS['argv']) && array_intersect($GLOBALS['argv'], ['-n', '--no', '-y', '---yes'])) { $input->setInteractive(false); self::$interactive = false; return; } $this->checkUpdates(); }