/var/www/vhosts/ihelp.ro/httpdocs/vendor/maennchen/zipstream-php/test
NameSizeModeActions
Zip64/-0755rm
Zs/-0755rm
Assertions.php10500644editdlrm
bootstrap.php1130644editdlrm
CentralDirectoryFileHeaderTest.php22660644editdlrm
DataDescriptorTest.php7300644editdlrm
EndlessCycleStream.php20340644editdlrm
EndOfCentralDirectoryTest.php13860644editdlrm
FaultInjectionResource.php31870644editdlrm
LocalFileHeaderTest.php17370644editdlrm
PackFieldTest.php9420644editdlrm
ResourceStream.php39570644editdlrm
TimeTest.php8880644editdlrm
Util.php35730644editdlrm
ZipStreamTest.php393400644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/maennchen/zipstream-php/test/EndlessCycleStream.php (2034B)
detach(); } /** * @return null */ public function detach() { return; } public function getSize(): ?int { return null; } public function tell(): int { return $this->offset; } public function eof(): bool { return false; } public function isSeekable(): bool { return true; } public function seek(int $offset, int $whence = SEEK_SET): void { switch($whence) { case SEEK_SET: $this->offset = $offset; break; case SEEK_CUR: $this->offset += $offset; break; case SEEK_END: throw new RuntimeException('Infinite Stream!'); break; } } public function rewind(): void { $this->seek(0); } public function isWritable(): bool { return false; } public function write(string $string): int { throw new RuntimeException('Not writeable'); } public function isReadable(): bool { return true; } public function read(int $length): string { $this->offset += $length; return substr(str_repeat($this->toRepeat, (int) ceil($length / strlen($this->toRepeat))), 0, $length); } public function getContents(): string { throw new RuntimeException('Infinite Stream!'); } public function getMetadata(?string $key = null): array|null { return $key !== null ? null : []; } }