Skip to content

Commit 694be11

Browse files
Merge branch '4.0' into 4.1
* 4.0: (21 commits) [PropertyInfo] fix resolving parent|self type hints fixed CS fix merge [Security] Fix logout Cleanup 2 tests for the HttpException classes #27250 limiting GET_LOCK key up to 64 char due to changes in MySQL 5.7.5 and later [Config] Fix tests when path contains UTF chars [DI] Shared services should not be inlined in non-shared ones [Profiler] Remove propel & event_listener_loading category identifiers [Filesystem] Fix usages of error_get_last() [Cache][Lock] Fix usages of error_get_last() [Debug] Fix populating error_get_last() for handled silent errors fixed CS fixed CS fixed CS [FrameworkBundle] Fix cache:clear on vagrant [HttpKernel] Handle NoConfigurationException "onKernelException()" Fix misses calculation when calling getItems [DI] Display previous error messages when throwing unused bindings Fixed return type ...
2 parents 00f24b3 + 058f120 commit 694be11

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Command/Command.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,11 @@ public function run(InputInterface $input, OutputInterface $output)
218218

219219
if (null !== $this->processTitle) {
220220
if (function_exists('cli_set_process_title')) {
221-
if (false === @cli_set_process_title($this->processTitle)) {
221+
if (!@cli_set_process_title($this->processTitle)) {
222222
if ('Darwin' === PHP_OS) {
223223
$output->writeln('<comment>Running "cli_get_process_title" as an unprivileged user is not supported on MacOS.</comment>');
224224
} else {
225-
$error = error_get_last();
226-
trigger_error($error['message'], E_USER_WARNING);
225+
cli_set_process_title($this->processTitle);
227226
}
228227
}
229228
} elseif (function_exists('setproctitle')) {

0 commit comments

Comments
 (0)