File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -169,9 +169,9 @@ public function getReport()
169169 public function clear ()
170170 {
171171 $ this ->isInitialized = false ;
172- $ this ->currentId = null ;
173- $ this ->data = [];
174- $ this ->tests = [];
172+ $ this ->currentId = null ;
173+ $ this ->data = [];
174+ $ this ->tests = [];
175175 }
176176
177177 /**
@@ -1072,7 +1072,6 @@ protected function initializeData()
10721072 $ this ->isInitialized = true ;
10731073
10741074 if ($ this ->processUncoveredFilesFromWhitelist ) {
1075-
10761075 $ this ->shouldCheckForDeadAndUnused = false ;
10771076
10781077 $ this ->driver ->start (true );
@@ -1083,7 +1082,7 @@ protected function initializeData()
10831082 }
10841083 }
10851084
1086- $ data = [];
1085+ $ data = [];
10871086 $ coverage = $ this ->driver ->stop ();
10881087
10891088 foreach ($ coverage as $ file => $ fileCoverage ) {
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ private function cleanup(array $data)
8080 foreach (array_keys ($ data ) as $ file ) {
8181 unset($ data [$ file ][0 ]);
8282
83- if (strpos ($ file ,'xdebug://debug-eval ' ) !== 0 && file_exists ($ file )) {
83+ if (strpos ($ file , 'xdebug://debug-eval ' ) !== 0 && file_exists ($ file )) {
8484 $ numLines = $ this ->getNumberOfLinesInFile ($ file );
8585
8686 foreach (array_keys ($ data [$ file ]) as $ line ) {
Original file line number Diff line number Diff line change 1010
1111namespace SebastianBergmann \CodeCoverage \Report \Html ;
1212
13- use SebastianBergmann \CodeCoverage \Report \Html \Facade ;
1413use SebastianBergmann \CodeCoverage \TestCase ;
1514
1615class HTMLTest extends TestCase
You can’t perform that action at this time.
0 commit comments