Skip to content

Commit

Permalink
Fix packagist:get-list output
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioheleno committed Apr 8, 2022
1 parent d69e591 commit 0224daf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Application/Console/Packagist/GetListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int

$io->text(
sprintf(
'[%s] Got <options=bold;fg=cyan>%d</> package(s) from Packagist',
'[%s] Got <options=bold;fg=cyan>%s</> package(s) from Packagist',
date('H:i:s'),
number_format(
$listCount,
Expand Down Expand Up @@ -137,7 +137,7 @@ static function (Package $package): string {
$storedCount = count($packages);
$io->text(
sprintf(
'[%s] Local storage has <options=bold;fg=cyan>%d</> package(s)',
'[%s] Local storage has <options=bold;fg=cyan>%s</> package(s)',
date('H:i:s'),
number_format(
$storedCount,
Expand All @@ -151,7 +151,7 @@ static function (Package $package): string {
$addList = array_diff($packageList, $packages);
$io->text(
sprintf(
'[%s] <options=bold;fg=green>%d</> package(s) will be added',
'[%s] <options=bold;fg=green>%s</> package(s) will be added',
date('H:i:s'),
number_format(
count($addList),
Expand All @@ -165,7 +165,7 @@ static function (Package $package): string {
$removeList = array_diff($packages, $packageList);
$io->text(
sprintf(
'[%s] <options=bold;fg=red>%d</> package(s) will be removed',
'[%s] <options=bold;fg=red>%s</> package(s) will be removed',
date('H:i:s'),
number_format(
count($removeList),
Expand Down

0 comments on commit 0224daf

Please sign in to comment.