File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,12 @@ public function append(array $data, $id = NULL)
228
228
}
229
229
}
230
230
231
- unset($ filename );
231
+ // Apply blacklist/whitelist filtering.
232
+ foreach (array_keys ($ data ) as $ filename ) {
233
+ if ($ this ->filter ->isFiltered ($ filename )) {
234
+ unset($ data [$ filename ]);
235
+ }
236
+ }
232
237
233
238
// Process files that are covered for the first time.
234
239
$ newFiles = array_diff_key ($ data , $ this ->coveredFiles );
@@ -270,13 +275,6 @@ public function append(array $data, $id = NULL)
270
275
$ data = array ();
271
276
}
272
277
273
- // Apply blacklist/whitelist filtering.
274
- foreach (array_keys ($ data ) as $ filename ) {
275
- if ($ this ->filter ->isFiltered ($ filename )) {
276
- unset($ data [$ filename ]);
277
- }
278
- }
279
-
280
278
if (!empty ($ data )) {
281
279
if ($ id instanceof PHPUnit_Framework_TestCase) {
282
280
$ status = $ id ->getStatus ();
You can’t perform that action at this time.
0 commit comments