Skip to content

Commit c983371

Browse files
committed
Set needed Report instance for process_files
1 parent a17fab7 commit c983371

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Runner.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace CodeClimate\PHPMD;
44

55
use PHPMD\PHPMD;
6+
use PHPMD\Report;
67
use PHPMD\RuleSetFactory;
78
use PHPMD\Writer\StreamWriter;
89
use PHPMD\Renderer\JSONRenderer;
@@ -115,7 +116,8 @@ public function run($files)
115116
$file,
116117
$rulesets,
117118
array($renderer),
118-
$ruleSetFactory
119+
$ruleSetFactory,
120+
new Report()
119121
);
120122
}
121123

0 commit comments

Comments
 (0)