diff --git a/src/Command/MakerCommand.php b/src/Command/MakerCommand.php index 24e01b219..da96d74cc 100644 --- a/src/Command/MakerCommand.php +++ b/src/Command/MakerCommand.php @@ -56,6 +56,11 @@ protected function configure(): void protected function initialize(InputInterface $input, OutputInterface $output): void { $this->io = new ConsoleStyle($input, $output); + + if (!$input->isInteractive()) { + $this->io->warning(\sprintf('"%s" is not meant to be run in non-interactive mode.', $this->getName())); + } + $this->fileManager->setIO($this->io); if ($this->checkDependencies) {