private function supportedLicenseWarning($output) { $license = $this->settings->getLicense(); if (!in_array($license, $this->defaults->licenses)) { $warning = '<error>Warning: "' . $license . '" is not a supported license. ' . 'Using ' . Defaults::LICENSE . '.</error>'; $output->writeln($warning); $license = Defaults::LICENSE; } return $license; }