Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 5482-5485 (lines=4) @@
5479
    $v_result = 1;
5480
    
5481
    // ----- Look for path beginning by ./
5482
    if (   ($p_dir == '.')
5483
        || ((strlen($p_dir) >=2) && (substr($p_dir, 0, 2) == './'))) {
5484
      $p_dir = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_dir, 1);
5485
    }
5486
    if (   ($p_path == '.')
5487
        || ((strlen($p_path) >=2) && (substr($p_path, 0, 2) == './'))) {
5488
      $p_path = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_path, 1);
@@ 5486-5489 (lines=4) @@
5483
        || ((strlen($p_dir) >=2) && (substr($p_dir, 0, 2) == './'))) {
5484
      $p_dir = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_dir, 1);
5485
    }
5486
    if (   ($p_path == '.')
5487
        || ((strlen($p_path) >=2) && (substr($p_path, 0, 2) == './'))) {
5488
      $p_path = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_path, 1);
5489
    }
5490
5491
    // ----- Explode dir and path by directory separator
5492
    $v_list_dir = explode("/", $p_dir);