Issues (158)

Helper/StreamWrapper/StreamWrapperInterface.php (19 issues)

1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Yii\Debug\Helper\StreamWrapper;
6
7
use const SEEK_SET;
8
9
/**
10
 * @link https://www.php.net/manual/en/class.streamwrapper.php
11
 */
12
interface StreamWrapperInterface
13
{
14
    public function stream_open(string $path, string $mode, int $options, ?string &$opened_path): bool;
0 ignored issues
show
Method name "StreamWrapperInterface::stream_open" is not in camel caps format
Loading history...
15
16
    public function stream_read(int $count): string|false;
0 ignored issues
show
Method name "StreamWrapperInterface::stream_read" is not in camel caps format
Loading history...
17
18
    public function stream_set_option(int $option, int $arg1, int $arg2): bool;
0 ignored issues
show
Method name "StreamWrapperInterface::stream_set_option" is not in camel caps format
Loading history...
19
20
    public function stream_tell(): int;
0 ignored issues
show
Method name "StreamWrapperInterface::stream_tell" is not in camel caps format
Loading history...
21
22
    public function stream_eof(): bool;
0 ignored issues
show
Method name "StreamWrapperInterface::stream_eof" is not in camel caps format
Loading history...
23
24
    public function stream_seek(int $offset, int $whence = SEEK_SET): bool;
0 ignored issues
show
Method name "StreamWrapperInterface::stream_seek" is not in camel caps format
Loading history...
25
26
    /**
27
     * @return resource
28
     */
29
    public function stream_cast(int $castAs);
0 ignored issues
show
Method name "StreamWrapperInterface::stream_cast" is not in camel caps format
Loading history...
30
31
    public function stream_stat(): array|false;
0 ignored issues
show
Method name "StreamWrapperInterface::stream_stat" is not in camel caps format
Loading history...
32
33
    public function dir_closedir(): bool;
0 ignored issues
show
Method name "StreamWrapperInterface::dir_closedir" is not in camel caps format
Loading history...
34
35
    public function dir_opendir(string $path, int $options): bool;
0 ignored issues
show
Method name "StreamWrapperInterface::dir_opendir" is not in camel caps format
Loading history...
36
37
    public function dir_readdir(): false|string;
0 ignored issues
show
Method name "StreamWrapperInterface::dir_readdir" is not in camel caps format
Loading history...
38
39
    public function dir_rewinddir(): bool;
0 ignored issues
show
Method name "StreamWrapperInterface::dir_rewinddir" is not in camel caps format
Loading history...
40
41
    public function mkdir(string $path, int $mode, int $options): bool;
42
43
    public function rename(string $path_from, string $path_to): bool;
44
45
    public function rmdir(string $path, int $options): bool;
46
47
    public function stream_close(): void;
0 ignored issues
show
Method name "StreamWrapperInterface::stream_close" is not in camel caps format
Loading history...
48
49
    public function stream_flush(): bool;
0 ignored issues
show
Method name "StreamWrapperInterface::stream_flush" is not in camel caps format
Loading history...
50
51
    public function stream_lock(int $operation): bool;
0 ignored issues
show
Method name "StreamWrapperInterface::stream_lock" is not in camel caps format
Loading history...
52
53
    public function stream_metadata(string $path, int $option, mixed $value): bool;
0 ignored issues
show
Method name "StreamWrapperInterface::stream_metadata" is not in camel caps format
Loading history...
54
55
    public function stream_truncate(int $new_size): bool;
0 ignored issues
show
Method name "StreamWrapperInterface::stream_truncate" is not in camel caps format
Loading history...
56
57
    public function stream_write(string $data): int;
0 ignored issues
show
Method name "StreamWrapperInterface::stream_write" is not in camel caps format
Loading history...
58
59
    public function unlink(string $path): bool;
60
61
    public function url_stat(string $path, int $flags): array|false;
0 ignored issues
show
Method name "StreamWrapperInterface::url_stat" is not in camel caps format
Loading history...
62
}
63