Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 3047-3050 (lines=4) @@
3044
    fputs($this->zip_fd, $v_binary_data, 30);
3045
3046
    // ----- Write the variable fields
3047
    if (strlen($p_header['stored_filename']) != 0)
3048
    {
3049
      fputs($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename']));
3050
    }
3051
    if ($p_header['extra_len'] != 0)
3052
    {
3053
      fputs($this->zip_fd, $p_header['extra'], $p_header['extra_len']);
@@ 3096-3099 (lines=4) @@
3093
    fputs($this->zip_fd, $v_binary_data, 46);
3094
3095
    // ----- Write the variable fields
3096
    if (strlen($p_header['stored_filename']) != 0)
3097
    {
3098
      fputs($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename']));
3099
    }
3100
    if ($p_header['extra_len'] != 0)
3101
    {
3102
      fputs($this->zip_fd, $p_header['extra'], $p_header['extra_len']);