@@ -43,8 +43,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
4343 {
4444 $ composerJsonFilePath = getcwd () . '/composer.json ' ;
4545
46- $ this ->symfonyStyle ->title ('Analyzing "composer.json" for outdated packages ' );
47- $ this ->symfonyStyle ->writeln (' This might take 10-30 seconds to finish, depending on your dependency count ' );
46+ $ this ->symfonyStyle ->writeln ('<fg=green>Analyzing "composer.json" for outdated packages</> ' );
4847
4948 $ responseJsonContents = $ this ->composerOutdatedResponseProvider ->provide ();
5049
@@ -60,26 +59,27 @@ protected function execute(InputInterface $input, OutputInterface $output): int
6059 $ composerJsonFilePath
6160 );
6261
63- $ this ->symfonyStyle ->warning (
62+ $ this ->symfonyStyle ->newLine ();
63+
64+ $ this ->symfonyStyle ->writeln (
6465 sprintf (
65- 'Found %d outdated package%s ' ,
66+ 'Found <fg=yellow> %d outdated package%s</> ' ,
6667 $ outdatedComposer ->count (),
6768 $ outdatedComposer ->count () === 1 ? '' : 's '
6869 )
6970 );
7071
71- $ this ->symfonyStyle ->listing ([
72- sprintf (
73- '%d prod package%s ' ,
74- $ outdatedComposer ->getProdPackagesCount (),
75- $ outdatedComposer ->getProdPackagesCount () === 1 ? '' : 's '
76- ),
77- sprintf (
78- '%d dev package%s ' ,
79- $ outdatedComposer ->getDevPackagesCount (),
80- $ outdatedComposer ->getDevPackagesCount () === 1 ? '' : 's '
81- ),
82- ]);
72+ $ this ->symfonyStyle ->writeln (sprintf (
73+ ' * %d prod package%s ' ,
74+ $ outdatedComposer ->getProdPackagesCount (),
75+ $ outdatedComposer ->getProdPackagesCount () === 1 ? '' : 's '
76+ ));
77+
78+ $ this ->symfonyStyle ->writeln (sprintf (
79+ ' * %d dev package%s ' ,
80+ $ outdatedComposer ->getDevPackagesCount (),
81+ $ outdatedComposer ->getDevPackagesCount () === 1 ? '' : 's '
82+ ));
8383
8484 $ this ->symfonyStyle ->newLine ();
8585 $ this ->symfonyStyle ->title ('Opening version constraints in "composer.json" ' );
0 commit comments