Code Duplication    Length = 5-8 lines in 3 locations

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

@@ 3523-3530 (lines=8) @@
3520
          }
3521
3522
          // ----- Get the only interesting attributes
3523
          if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted])) != 1)
3524
          {
3525
            // ----- Close the zip file
3526
            $this->privCloseFd();
3527
            $this->privSwapBackMagicQuotes();
3528
3529
            return $v_result;
3530
          }
3531
3532
          // ----- Set the file content
3533
          $p_file_list[$v_nb_extracted]['content'] = $v_string;
@@ 3555-3559 (lines=5) @@
3552
          }
3553
3554
          // ----- Get the only interesting attributes
3555
          if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted++])) != 1) {
3556
            $this->privCloseFd();
3557
            $this->privSwapBackMagicQuotes();
3558
            return $v_result;
3559
          }
3560
3561
          // ----- Look for user callback abort
3562
          if ($v_result1 == 2) {
@@ 3580-3587 (lines=8) @@
3577
          }
3578
3579
          // ----- Get the only interesting attributes
3580
          if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted++])) != 1)
3581
          {
3582
            // ----- Close the zip file
3583
            $this->privCloseFd();
3584
            $this->privSwapBackMagicQuotes();
3585
3586
            return $v_result;
3587
          }
3588
3589
          // ----- Look for user callback abort
3590
          if ($v_result1 == 2) {