mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-03 22:17:24 +02:00
cs fix
This commit is contained in:
@@ -53,7 +53,7 @@ class DummyFileSystemStream
|
|||||||
*/
|
*/
|
||||||
private $fp;
|
private $fp;
|
||||||
|
|
||||||
function stream_open($path, $mode, $options, &$opened_path)
|
public function stream_open($path, $mode, $options, &$opened_path)
|
||||||
{
|
{
|
||||||
// echo "DummyFileSystemStream->stream_open($path, $mode, $options)" . PHP_EOL;
|
// echo "DummyFileSystemStream->stream_open($path, $mode, $options)" . PHP_EOL;
|
||||||
|
|
||||||
@@ -64,7 +64,7 @@ class DummyFileSystemStream
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function stream_read($count)
|
public function stream_read($count)
|
||||||
{
|
{
|
||||||
// echo "DummyFileSystemStream->stream_read($count)" . PHP_EOL;
|
// echo "DummyFileSystemStream->stream_read($count)" . PHP_EOL;
|
||||||
$position = ftell($this->fp);
|
$position = ftell($this->fp);
|
||||||
@@ -77,26 +77,26 @@ class DummyFileSystemStream
|
|||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
function stream_tell()
|
public function stream_tell()
|
||||||
{
|
{
|
||||||
// echo "DummyFileSystemStream->stream_tell()" . PHP_EOL;
|
// echo "DummyFileSystemStream->stream_tell()" . PHP_EOL;
|
||||||
return ftell($this->fp);
|
return ftell($this->fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
function stream_eof()
|
public function stream_eof()
|
||||||
{
|
{
|
||||||
// echo "DummyFileSystemStream->stream_eof()" . PHP_EOL;
|
// echo "DummyFileSystemStream->stream_eof()" . PHP_EOL;
|
||||||
$isfeof = feof($this->fp);
|
$isfeof = feof($this->fp);
|
||||||
return $isfeof;
|
return $isfeof;
|
||||||
}
|
}
|
||||||
|
|
||||||
function stream_seek($offset, $whence)
|
public function stream_seek($offset, $whence)
|
||||||
{
|
{
|
||||||
// echo "DummyFileSystemStream->stream_seek($offset, $whence)" . PHP_EOL;
|
// echo "DummyFileSystemStream->stream_seek($offset, $whence)" . PHP_EOL;
|
||||||
fseek($this->fp, $offset, $whence);
|
fseek($this->fp, $offset, $whence);
|
||||||
}
|
}
|
||||||
|
|
||||||
function stream_stat()
|
public function stream_stat()
|
||||||
{
|
{
|
||||||
// echo "DummyFileSystemStream->stream_stat()" . PHP_EOL;
|
// echo "DummyFileSystemStream->stream_stat()" . PHP_EOL;
|
||||||
return fstat($this->fp);
|
return fstat($this->fp);
|
||||||
|
Reference in New Issue
Block a user