File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -221,15 +221,15 @@ public function append(array $data, $id = NULL)
221
221
222
222
$ dir = dirname (__FILE__ );
223
223
224
- foreach (array_keys ($ data ) as $ file ) {
225
- if (strpos ($ file , $ dir ) === 0 ||
226
- substr ($ file , -17 ) == 'File/Iterator.php ' ||
227
- substr ($ file , -25 ) == 'File/Iterator/Factory.php ' ) {
228
- unset($ data [$ file ]);
224
+ foreach (array_keys ($ data ) as $ filename ) {
225
+ if (strpos ($ filename , $ dir ) === 0 ||
226
+ substr ($ filename , -17 ) == 'File/Iterator.php ' ||
227
+ substr ($ filename , -25 ) == 'File/Iterator/Factory.php ' ) {
228
+ unset($ data [$ filename ]);
229
229
}
230
230
}
231
231
232
- unset($ dir , $ file );
232
+ unset($ dir , $ filename );
233
233
234
234
// Process files that are covered for the first time.
235
235
$ newFiles = array_diff_key ($ data , $ this ->coveredFiles );
You can’t perform that action at this time.
0 commit comments