1
0
Fork 0

Fix some more wording

pull/9575/head
Jordi Boggiano 2020-12-27 20:51:22 +01:00 committed by GitHub
parent 6f5c4fcf3e
commit bad4e4edbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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('<warning>You are running composer as "'.$composeUser['name'].'", while "'.$home.'" is owned by "'.$homeOwner['name'].'"</warning>');
$io->writeError('<warning>You are running Composer as "'.$composeUser['name'].'", while "'.$home.'" is owned by "'.$homeOwner['name'].'"</warning>');
}
}
@ -185,7 +185,7 @@ EOT
if (Composer::VERSION === $updateVersion) {
$io->writeError(
sprintf(
'<info>You are already using the latest available composer version %s (%s channel).</info>',
'<info>You are already using the latest available Composer version %s (%s channel).</info>',
$updateVersion,
$channelString
)