From bad4e4edbc9496ba4b5d35eca7c2fe3f13276216 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 27 Dec 2020 20:51:22 +0100 Subject: [PATCH] Fix some more wording --- src/Composer/Command/SelfUpdateCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Command/SelfUpdateCommand.php b/src/Composer/Command/SelfUpdateCommand.php index c23d69f3e..ea0831818 100644 --- a/src/Composer/Command/SelfUpdateCommand.php +++ b/src/Composer/Command/SelfUpdateCommand.php @@ -126,7 +126,7 @@ EOT $composeUser = posix_getpwuid(posix_geteuid()); $homeOwner = posix_getpwuid(fileowner($home)); if (isset($composeUser['name'], $homeOwner['name']) && $composeUser['name'] !== $homeOwner['name']) { - $io->writeError('You are running composer as "'.$composeUser['name'].'", while "'.$home.'" is owned by "'.$homeOwner['name'].'"'); + $io->writeError('You are running Composer as "'.$composeUser['name'].'", while "'.$home.'" is owned by "'.$homeOwner['name'].'"'); } } @@ -185,7 +185,7 @@ EOT if (Composer::VERSION === $updateVersion) { $io->writeError( sprintf( - 'You are already using the latest available composer version %s (%s channel).', + 'You are already using the latest available Composer version %s (%s channel).', $updateVersion, $channelString )