mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
Improves display of memory plugin
This commit is contained in:
@ -46,7 +46,7 @@ final class Memory implements AddsOutput, HandlesArguments
|
|||||||
{
|
{
|
||||||
if ($this->enabled) {
|
if ($this->enabled) {
|
||||||
$this->output->writeln(sprintf(
|
$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)
|
round(memory_get_usage(true) / pow(1000, 2), 3)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user