Code Duplication    Length = 5-9 lines in 2 locations

app/Vendor/PHPExcel/PHPExcel/Shared/PCLZip/pclzip.lib.php 2 locations

@@ 373-381 (lines=9) @@
370
    }
371
    
372
    // ----- Reformat the string list
373
    if (sizeof($v_string_list) != 0) {
374
      foreach ($v_string_list as $v_string) {
375
        if ($v_string != '') {
376
          $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string;
377
        }
378
        else {
379
        }
380
      }
381
    }
382
    
383
    // ----- For each file in the list check the attributes
384
    $v_supported_attributes
@@ 560-564 (lines=5) @@
557
    }
558
    
559
    // ----- Reformat the string list
560
    if (sizeof($v_string_list) != 0) {
561
      foreach ($v_string_list as $v_string) {
562
        $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string;
563
      }
564
    }
565
    
566
    // ----- For each file in the list check the attributes
567
    $v_supported_attributes