mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-19 21:51:22 +02:00
Implemented the ability to override the instance of ZipContainer.
ZipContainer will be cloned before writing the zip file. Tested custom ZipWriter, ZipReader, ZipContainer and ZipFile.
This commit is contained in:
21
tests/Internal/Epub/EpubReader.php
Normal file
21
tests/Internal/Epub/EpubReader.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace PhpZip\Tests\Internal\Epub;
|
||||
|
||||
use PhpZip\IO\ZipReader;
|
||||
|
||||
/**
|
||||
* Class EpubReader.
|
||||
*/
|
||||
class EpubReader extends ZipReader
|
||||
{
|
||||
/**
|
||||
* @return bool
|
||||
*
|
||||
* @see https://github.com/w3c/epubcheck/issues/334
|
||||
*/
|
||||
protected function isZip64Support()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user