File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public function process(PHP_CodeCoverage $coverage, $target)
132132 $ commonPath , NULL
133133 );
134134
135- $ this ->addItems ($ root , $ items, $ files );
135+ $ this ->addItems ($ root , $ items );
136136
137137 $ this ->renderDashboard (
138138 $ root , $ target . 'index.dashboard.html ' , $ this ->options ['title ' ]
@@ -199,9 +199,8 @@ protected function renderDashboard(PHP_CodeCoverage_Report_HTML_Node_Directory $
199199 /**
200200 * @param PHP_CodeCoverage_Report_HTML_Node_Directory $root
201201 * @param array $items
202- * @param array $files
203202 */
204- protected function addItems (PHP_CodeCoverage_Report_HTML_Node_Directory $ root , array $ items, array $ files )
203+ protected function addItems (PHP_CodeCoverage_Report_HTML_Node_Directory $ root , array $ items )
205204 {
206205 foreach ($ items as $ key => $ value ) {
207206 if (substr ($ key , -2 ) == '/f ' ) {
@@ -219,7 +218,7 @@ protected function addItems(PHP_CodeCoverage_Report_HTML_Node_Directory $root, a
219218 }
220219 } else {
221220 $ child = $ root ->addDirectory ($ key );
222- $ this ->addItems ($ child , $ value, $ files );
221+ $ this ->addItems ($ child , $ value );
223222 }
224223 }
225224 }
You can’t perform that action at this time.
0 commit comments