src/ZipArchive.php
Method add_cdr_file
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function add_cdr_file(array $args)
{
list($name, $opt, $meth, $crc, $zlen, $len, $ofs, $genb, $file_attribute) = $args;
// convert the 64 bit ints to 2 32bit ints
Method add_stream_file_header
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function add_stream_file_header($name, $size, array $opt, $meth)
{
// strip leading slashes from file name
// (fixes bug in windows archive viewer)
$name = preg_replace('/^\\/+/', '', $name);
Method add_to_cdr
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function add_to_cdr($name, array $opt, $meth, $crc, $zlen, $len, $rec_len, $genb = 0, $fattr = 0x20)
Missing file doc comment Open
Open
namespace Barracuda\ArchiveStream;
- Exclude checks