changed warning verbosity; fixes typo

This commit is contained in:
Adrian 2018-07-05 11:39:28 -04:00 committed by GitHub
parent 7135aa4338
commit 86c771acc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,7 +220,10 @@ class Command
if (function_exists('cli_set_process_title')) {
if (!@cli_set_process_title($this->processTitle)) {
if ('Darwin' === PHP_OS) {
$output->writeln('<comment>Running "cli_get_process_title" as an unprivileged user is not supported on MacOS.</comment>');
$output->writeln(
'<comment>Running "cli_set_process_title" as an unprivileged user is not supported on MacOS.</comment>',
OutputInterface::VERBOSITY_VERY_VERBOSE
);
} else {
cli_set_process_title($this->processTitle);
}