Skip to content

Commit a3c50e7

Browse files
committed
Correcting usage of the reporter object
1 parent efa08c5 commit a3c50e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPSemVerChecker/Console/Command/CompareCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
5252
$beforeRegistry = $beforeScanner->getRegistry();
5353
$afterRegistry = $afterScanner->getRegistry();
5454

55-
$reporter = new Reporter($beforeRegistry, $afterRegistry, $output);
55+
(new Reporter())->output($beforeRegistry, $afterRegistry, $output);
5656
}
5757

5858
protected function fileScanner($pattern)

0 commit comments

Comments
 (0)