Skip to content

Commit fd77b39

Browse files
committed
MQE-1957: Entity Deprecation Reference - Static Check
1 parent a91e11a commit fd77b39

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Magento/FunctionalTestingFramework/Console/StaticChecksCommand.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,17 @@ protected function execute(InputInterface $input, OutputInterface $output)
8888
$output->writeln(
8989
"\nRunning static check script for: " . $name
9090
);
91-
91+
$start = microtime(true);
9292
$staticCheck->execute($input);
93+
$end = microtime(true);
9394

9495
$staticOutput = $staticCheck->getOutput();
9596
LoggingUtil::getInstance()->getLogger(get_class($staticCheck))->info($staticOutput);
9697
$output->writeln($staticOutput);
9798
$errors += $staticCheck->getErrors();
99+
$output->writeln(
100+
"\nTotal execution time is " . (string)($end - $start) . " seconds."
101+
);
98102
}
99103

100104
if (empty($errors)) {

0 commit comments

Comments
 (0)