Improves display of memory plugin

This commit is contained in:
Nuno Maduro
2022-09-15 23:55:26 +01:00
parent af82c1005a
commit 01ccbfe254

View File

@ -46,7 +46,7 @@ final class Memory implements AddsOutput, HandlesArguments
{
if ($this->enabled) {
$this->output->writeln(sprintf(
' <fg=white;options=bold>Memory: </><fg=default>%s MB</>',
' <fg=gray;options=bold>Memory:</> <fg=default>%s MB</>',
round(memory_get_usage(true) / pow(1000, 2), 3)
));
}