mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-30 02:09:50 +02:00
refactoring
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
namespace PhpZip\Exception;
|
||||
|
||||
/**
|
||||
* Class ZipUnsupportMethodException.
|
||||
*/
|
||||
class ZipUnsupportMethodException extends RuntimeException
|
||||
{
|
||||
}
|
||||
|
@@ -81,7 +81,7 @@ class EndOfCentralDirectory
|
||||
private $entryCount;
|
||||
|
||||
/** @var bool */
|
||||
private $zip64 = false;
|
||||
private $zip64;
|
||||
|
||||
/**
|
||||
* EndOfCentralDirectory constructor.
|
||||
|
@@ -507,6 +507,7 @@ class ZipInputStream implements ZipInputStreamInterface
|
||||
break;
|
||||
|
||||
case ZipFileInterface::METHOD_DEFLATED:
|
||||
/** @noinspection PhpUsageOfSilenceOperatorInspection */
|
||||
$content = @gzinflate($content);
|
||||
break;
|
||||
|
||||
|
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
/** @noinspection PhpUsageOfSilenceOperatorInspection */
|
||||
|
||||
namespace PhpZip;
|
||||
|
||||
use PhpZip\Exception\InvalidArgumentException;
|
||||
|
Reference in New Issue
Block a user