FilesystemDefaultImplementationTrait::bmap()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 3
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * This file is part of the sj-i/php-fuse package.
5
 *
6
 * (c) sji <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Fuse;
15
16
use Fuse\Libc\Errno\Errno;
17
use Fuse\Libc\Fcntl\Flock;
18
use Fuse\Libc\Fuse\FuseBufVec;
19
use Fuse\Libc\Fuse\FuseConnInfo;
20
use Fuse\Libc\Fuse\FuseDirFill;
21
use Fuse\Libc\Fuse\FuseDirHandle;
22
use Fuse\Libc\Fuse\FuseFileInfo;
23
use Fuse\Libc\Fuse\FuseFillDir;
24
use Fuse\Libc\Fuse\FuseIoctlArgPointer;
25
use Fuse\Libc\Fuse\FuseIoctlDataPointer;
26
use Fuse\Libc\Fuse\FusePollHandle;
27
use Fuse\Libc\Fuse\FusePrivateData;
28
use Fuse\Libc\Fuse\FuseReadDirBuffer;
29
use Fuse\Libc\String\CBytesBuffer;
30
use Fuse\Libc\String\CStringBuffer;
31
use Fuse\Libc\Sys\Stat\Stat;
32
use Fuse\Libc\Sys\StatVfs\StatVfs;
33
use Fuse\Libc\Time\TimeSpec;
34
use Fuse\Libc\Utime\UtimBuf;
35
use TypedCData\TypedCDataArray;
0 ignored issues
show
Bug introduced by
The type TypedCData\TypedCDataArray was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
36
37
trait FilesystemDefaultImplementationTrait
38
{
39
    use MountableFilesystemTrait;
40
    use FilesystemFlagsImplementationTrait;
41
42
    /**
43
     * int (*getattr) (const char *, struct stat *);
44
     */
45
    public function getattr(string $path, Stat $stat): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

45
    public function getattr(/** @scrutinizer ignore-unused */ string $path, Stat $stat): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $stat is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

45
    public function getattr(string $path, /** @scrutinizer ignore-unused */ Stat $stat): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
46
    {
47
        return -Errno::ENOSYS;
48
    }
49
50
    /**
51
     * int (*readlink) (const char *, char *, size_t);
52
     */
53
    public function readlink(string $path, CStringBuffer $buffer, int $size): int
0 ignored issues
show
Unused Code introduced by
The parameter $size is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

53
    public function readlink(string $path, CStringBuffer $buffer, /** @scrutinizer ignore-unused */ int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

53
    public function readlink(/** @scrutinizer ignore-unused */ string $path, CStringBuffer $buffer, int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $buffer is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

53
    public function readlink(string $path, /** @scrutinizer ignore-unused */ CStringBuffer $buffer, int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
54
    {
55
        return -Errno::ENOSYS;
56
    }
57
58
    /**
59
     * int (*getdir) (const char *, fuse_dirh_t, fuse_dirfil_t);
60
     *
61
     * @deprecated
62
     */
63
    public function getdir(string $path, FuseDirHandle $dirhandle, FuseDirFill $dirfill): int
0 ignored issues
show
Unused Code introduced by
The parameter $dirfill is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

63
    public function getdir(string $path, FuseDirHandle $dirhandle, /** @scrutinizer ignore-unused */ FuseDirFill $dirfill): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $dirhandle is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

63
    public function getdir(string $path, /** @scrutinizer ignore-unused */ FuseDirHandle $dirhandle, FuseDirFill $dirfill): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

63
    public function getdir(/** @scrutinizer ignore-unused */ string $path, FuseDirHandle $dirhandle, FuseDirFill $dirfill): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
64
    {
65
        return -Errno::ENOSYS;
66
    }
67
68
    /**
69
     * int (*mknod) (const char *, mode_t, dev_t);
70
     */
71
    public function mknod(string $path, int $mode, int $dev): int
0 ignored issues
show
Unused Code introduced by
The parameter $mode is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

71
    public function mknod(string $path, /** @scrutinizer ignore-unused */ int $mode, int $dev): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

71
    public function mknod(/** @scrutinizer ignore-unused */ string $path, int $mode, int $dev): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $dev is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

71
    public function mknod(string $path, int $mode, /** @scrutinizer ignore-unused */ int $dev): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
72
    {
73
        return -Errno::ENOSYS;
74
    }
75
76
    /**
77
     * int (*mkdir) (const char *, mode_t);
78
     */
79
    public function mkdir(string $path, int $mode): int
0 ignored issues
show
Unused Code introduced by
The parameter $mode is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

79
    public function mkdir(string $path, /** @scrutinizer ignore-unused */ int $mode): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

79
    public function mkdir(/** @scrutinizer ignore-unused */ string $path, int $mode): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
80
    {
81
        return -Errno::ENOSYS;
82
    }
83
84
    /**
85
     * int (*unlink) (const char *);
86
     */
87
    public function unlink(string $path): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

87
    public function unlink(/** @scrutinizer ignore-unused */ string $path): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
88
    {
89
        return -Errno::ENOSYS;
90
    }
91
92
    /**
93
     * int (*rmdir) (const char *);
94
     */
95
    public function rmdir(string $path): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

95
    public function rmdir(/** @scrutinizer ignore-unused */ string $path): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
96
    {
97
        return -Errno::ENOSYS;
98
    }
99
100
    /**
101
     * int (*symlink) (const char *, const char *);
102
     */
103
    public function symlink(string $path, string $link): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

103
    public function symlink(/** @scrutinizer ignore-unused */ string $path, string $link): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $link is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

103
    public function symlink(string $path, /** @scrutinizer ignore-unused */ string $link): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
104
    {
105
        return -Errno::ENOSYS;
106
    }
107
108
    /**
109
     * int (*rename) (const char *, const char *);
110
     */
111
    public function rename(string $from, string $to): int
0 ignored issues
show
Unused Code introduced by
The parameter $to is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

111
    public function rename(string $from, /** @scrutinizer ignore-unused */ string $to): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $from is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

111
    public function rename(/** @scrutinizer ignore-unused */ string $from, string $to): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
112
    {
113
        return -Errno::ENOSYS;
114
    }
115
116
    /**
117
     * int (*link) (const char *, const char *);
118
     */
119
    public function link(string $path, string $link): int
0 ignored issues
show
Unused Code introduced by
The parameter $link is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

119
    public function link(string $path, /** @scrutinizer ignore-unused */ string $link): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

119
    public function link(/** @scrutinizer ignore-unused */ string $path, string $link): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
120
    {
121
        return -Errno::ENOSYS;
122
    }
123
124
    /**
125
     * int (*chmod) (const char *, mode_t);
126
     */
127
    public function chmod(string $path, int $mode): int
0 ignored issues
show
Unused Code introduced by
The parameter $mode is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

127
    public function chmod(string $path, /** @scrutinizer ignore-unused */ int $mode): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

127
    public function chmod(/** @scrutinizer ignore-unused */ string $path, int $mode): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
128
    {
129
        return -Errno::ENOSYS;
130
    }
131
132
    /**
133
     * int (*chown) (const char *, uid_t, gid_t);
134
     */
135
    public function chown(string $path, int $uid, int $gid): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

135
    public function chown(/** @scrutinizer ignore-unused */ string $path, int $uid, int $gid): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $uid is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

135
    public function chown(string $path, /** @scrutinizer ignore-unused */ int $uid, int $gid): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $gid is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

135
    public function chown(string $path, int $uid, /** @scrutinizer ignore-unused */ int $gid): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
136
    {
137
        return -Errno::ENOSYS;
138
    }
139
140
    /**
141
     * int (*truncate) (const char *, off_t);
142
     */
143
    public function truncate(string $path, int $offset): int
0 ignored issues
show
Unused Code introduced by
The parameter $offset is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

143
    public function truncate(string $path, /** @scrutinizer ignore-unused */ int $offset): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

143
    public function truncate(/** @scrutinizer ignore-unused */ string $path, int $offset): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
144
    {
145
        return -Errno::ENOSYS;
146
    }
147
148
    /**
149
     * int (*utime) (const char *, struct utimbuf *);
150
     */
151
    public function utime(string $path, UtimBuf $utime_buf): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

151
    public function utime(/** @scrutinizer ignore-unused */ string $path, UtimBuf $utime_buf): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $utime_buf is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

151
    public function utime(string $path, /** @scrutinizer ignore-unused */ UtimBuf $utime_buf): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
152
    {
153
        return -Errno::ENOSYS;
154
    }
155
156
    /**
157
     * int (*open) (const char *, struct fuse_file_info *);
158
     */
159
    public function open(string $path, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

159
    public function open(/** @scrutinizer ignore-unused */ string $path, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

159
    public function open(string $path, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
160
    {
161
        return 0;
162
    }
163
164
    /**
165
     * int (*read) (const char *, char *, size_t, off_t, struct fuse_file_info *);
166
     */
167
    public function read(string $path, CBytesBuffer $buffer, int $size, int $offset, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

167
    public function read(/** @scrutinizer ignore-unused */ string $path, CBytesBuffer $buffer, int $size, int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $size is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

167
    public function read(string $path, CBytesBuffer $buffer, /** @scrutinizer ignore-unused */ int $size, int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

167
    public function read(string $path, CBytesBuffer $buffer, int $size, int $offset, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $buffer is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

167
    public function read(string $path, /** @scrutinizer ignore-unused */ CBytesBuffer $buffer, int $size, int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $offset is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

167
    public function read(string $path, CBytesBuffer $buffer, int $size, /** @scrutinizer ignore-unused */ int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
168
    {
169
        return -Errno::ENOSYS;
170
    }
171
172
    /**
173
     * int (*write) (const char *, const char *, size_t, off_t, struct fuse_file_info *);
174
     */
175
    public function write(string $path, string $buffer, int $size, int $offset, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

175
    public function write(string $path, string $buffer, int $size, int $offset, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $offset is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

175
    public function write(string $path, string $buffer, int $size, /** @scrutinizer ignore-unused */ int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $size is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

175
    public function write(string $path, string $buffer, /** @scrutinizer ignore-unused */ int $size, int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

175
    public function write(/** @scrutinizer ignore-unused */ string $path, string $buffer, int $size, int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $buffer is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

175
    public function write(string $path, /** @scrutinizer ignore-unused */ string $buffer, int $size, int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
176
    {
177
        return -Errno::ENOSYS;
178
    }
179
180
    /**
181
     * int (*statfs) (const char *, struct statvfs *);
182
     */
183
    public function statfs(string $path, StatVfs $statvfs): int
0 ignored issues
show
Unused Code introduced by
The parameter $statvfs is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

183
    public function statfs(string $path, /** @scrutinizer ignore-unused */ StatVfs $statvfs): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

183
    public function statfs(/** @scrutinizer ignore-unused */ string $path, StatVfs $statvfs): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
184
    {
185
        return -Errno::ENOSYS;
186
    }
187
188
    /**
189
     * int (*flush) (const char *, struct fuse_file_info *);
190
     */
191
    public function flush(string $path, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

191
    public function flush(/** @scrutinizer ignore-unused */ string $path, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

191
    public function flush(string $path, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
192
    {
193
        return -Errno::ENOSYS;
194
    }
195
196
    /**
197
     * int (*release) (const char *, struct fuse_file_info *);
198
     */
199
    public function release(string $path, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

199
    public function release(/** @scrutinizer ignore-unused */ string $path, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

199
    public function release(string $path, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
200
    {
201
        return -Errno::ENOSYS;
202
    }
203
204
    /**
205
     * int (*fsync) (const char *, int, struct fuse_file_info *);
206
     */
207
    public function fsync(string $path, int $flags, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

207
    public function fsync(/** @scrutinizer ignore-unused */ string $path, int $flags, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $flags is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

207
    public function fsync(string $path, /** @scrutinizer ignore-unused */ int $flags, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

207
    public function fsync(string $path, int $flags, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
208
    {
209
        return -Errno::ENOSYS;
210
    }
211
212
    /**
213
     * int (*setxattr) (const char *, const char *, const char *, size_t, int);
214
     */
215
    public function setxattr(string $path, string $name, string $value, int $size): int
0 ignored issues
show
Unused Code introduced by
The parameter $name is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

215
    public function setxattr(string $path, /** @scrutinizer ignore-unused */ string $name, string $value, int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

215
    public function setxattr(/** @scrutinizer ignore-unused */ string $path, string $name, string $value, int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $value is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

215
    public function setxattr(string $path, string $name, /** @scrutinizer ignore-unused */ string $value, int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $size is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

215
    public function setxattr(string $path, string $name, string $value, /** @scrutinizer ignore-unused */ int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
216
    {
217
        return -Errno::ENOSYS;
218
    }
219
220
    /**
221
     * int (*getxattr) (const char *, const char *, char *, size_t);
222
     */
223
    public function getxattr(string $path, string $name, ?string &$value, int $size): int
0 ignored issues
show
Unused Code introduced by
The parameter $size is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

223
    public function getxattr(string $path, string $name, ?string &$value, /** @scrutinizer ignore-unused */ int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $value is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

223
    public function getxattr(string $path, string $name, /** @scrutinizer ignore-unused */ ?string &$value, int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $name is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

223
    public function getxattr(string $path, /** @scrutinizer ignore-unused */ string $name, ?string &$value, int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

223
    public function getxattr(/** @scrutinizer ignore-unused */ string $path, string $name, ?string &$value, int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
224
    {
225
        return -Errno::ENOSYS;
226
    }
227
228
    /**
229
     * int (*listxattr) (const char *, char *, size_t);*
230
     */
231
    public function listxattr(string $path, ?string &$value, int $size): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

231
    public function listxattr(/** @scrutinizer ignore-unused */ string $path, ?string &$value, int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $size is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

231
    public function listxattr(string $path, ?string &$value, /** @scrutinizer ignore-unused */ int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $value is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

231
    public function listxattr(string $path, /** @scrutinizer ignore-unused */ ?string &$value, int $size): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
232
    {
233
        return -Errno::ENOSYS;
234
    }
235
236
    /**
237
     * int (*removexattr) (const char *, const char *);
238
     */
239
    public function removexattr(string $path, string $name): int
0 ignored issues
show
Unused Code introduced by
The parameter $name is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

239
    public function removexattr(string $path, /** @scrutinizer ignore-unused */ string $name): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

239
    public function removexattr(/** @scrutinizer ignore-unused */ string $path, string $name): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
240
    {
241
        return -Errno::ENOSYS;
242
    }
243
244
    /**
245
     * int (*opendir) (const char *, struct fuse_file_info *);
246
     */
247
    public function opendir(string $path, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

247
    public function opendir(/** @scrutinizer ignore-unused */ string $path, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

247
    public function opendir(string $path, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
248
    {
249
        return 0;
250
    }
251
252
    /**
253
     * int (*readdir) (const char *, void *, fuse_fill_dir_t, off_t, struct fuse_file_info *);
254
     */
255
    public function readdir(
256
        string $path,
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

256
        /** @scrutinizer ignore-unused */ string $path,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
257
        FuseReadDirBuffer $buf,
0 ignored issues
show
Unused Code introduced by
The parameter $buf is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

257
        /** @scrutinizer ignore-unused */ FuseReadDirBuffer $buf,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
258
        FuseFillDir $filler,
0 ignored issues
show
Unused Code introduced by
The parameter $filler is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

258
        /** @scrutinizer ignore-unused */ FuseFillDir $filler,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
259
        int $offset,
0 ignored issues
show
Unused Code introduced by
The parameter $offset is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

259
        /** @scrutinizer ignore-unused */ int $offset,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
260
        FuseFileInfo $fuse_file_info
0 ignored issues
show
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

260
        /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
261
    ): int {
262
        return -Errno::ENOSYS;
263
    }
264
265
    /**
266
     * int (*releasedir) (const char *, struct fuse_file_info *);
267
     */
268
    public function releasedir(string $path, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

268
    public function releasedir(string $path, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

268
    public function releasedir(/** @scrutinizer ignore-unused */ string $path, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
269
    {
270
        return -Errno::ENOSYS;
271
    }
272
273
    /**
274
     * int (*fsyncdir) (const char *, int, struct fuse_file_info *);
275
     */
276
    public function fsyncdir(string $path, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

276
    public function fsyncdir(string $path, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

276
    public function fsyncdir(/** @scrutinizer ignore-unused */ string $path, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
277
    {
278
        return -Errno::ENOSYS;
279
    }
280
281
    /**
282
     * void *(*init) (struct fuse_conn_info *conn);
283
     */
284
    public function init(FuseConnInfo $conn): ?FusePrivateData
0 ignored issues
show
Unused Code introduced by
The parameter $conn is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

284
    public function init(/** @scrutinizer ignore-unused */ FuseConnInfo $conn): ?FusePrivateData

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
285
    {
286
        return null;
287
    }
288
289
    /**
290
     * void (*destroy) (void *);
291
     */
292
    public function destroy(?FusePrivateData $private_data): void
0 ignored issues
show
Unused Code introduced by
The parameter $private_data is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

292
    public function destroy(/** @scrutinizer ignore-unused */ ?FusePrivateData $private_data): void

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
293
    {
294
    }
295
296
    /**
297
     * int (*access) (const char *, int);
298
     */
299
    public function access(string $path, int $mode): int
0 ignored issues
show
Unused Code introduced by
The parameter $mode is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

299
    public function access(string $path, /** @scrutinizer ignore-unused */ int $mode): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

299
    public function access(/** @scrutinizer ignore-unused */ string $path, int $mode): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
300
    {
301
        return -Errno::ENOSYS;
302
    }
303
304
    /**
305
     * int (*create) (const char *, mode_t, struct fuse_file_info *);
306
     */
307
    public function create(string $path, int $mode, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

307
    public function create(/** @scrutinizer ignore-unused */ string $path, int $mode, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

307
    public function create(string $path, int $mode, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $mode is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

307
    public function create(string $path, /** @scrutinizer ignore-unused */ int $mode, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
308
    {
309
        return -Errno::ENOSYS;
310
    }
311
312
    /**
313
     * int (*ftruncate) (const char *, off_t, struct fuse_file_info *);
314
     */
315
    public function ftruncate(string $path, int $offset, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

315
    public function ftruncate(/** @scrutinizer ignore-unused */ string $path, int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

315
    public function ftruncate(string $path, int $offset, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $offset is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

315
    public function ftruncate(string $path, /** @scrutinizer ignore-unused */ int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
316
    {
317
        return -Errno::ENOSYS;
318
    }
319
320
    /**
321
     * int (*fgetattr) (const char *, struct stat *, struct fuse_file_info *);
322
     */
323
    public function fgetattr(string $path, Stat $stat, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

323
    public function fgetattr(/** @scrutinizer ignore-unused */ string $path, Stat $stat, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $stat is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

323
    public function fgetattr(string $path, /** @scrutinizer ignore-unused */ Stat $stat, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

323
    public function fgetattr(string $path, Stat $stat, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
324
    {
325
        return -Errno::ENOSYS;
326
    }
327
328
    /**
329
     * int (*lock) (const char *, struct fuse_file_info *, int cmd, struct flock *);
330
     */
331
    public function lock(string $path, FuseFileInfo $fuse_file_info, int $cmd, Flock $flock): int
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

331
    public function lock(/** @scrutinizer ignore-unused */ string $path, FuseFileInfo $fuse_file_info, int $cmd, Flock $flock): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

331
    public function lock(string $path, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info, int $cmd, Flock $flock): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $flock is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

331
    public function lock(string $path, FuseFileInfo $fuse_file_info, int $cmd, /** @scrutinizer ignore-unused */ Flock $flock): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $cmd is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

331
    public function lock(string $path, FuseFileInfo $fuse_file_info, /** @scrutinizer ignore-unused */ int $cmd, Flock $flock): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
332
    {
333
        return -Errno::ENOSYS;
334
    }
335
336
    /**
337
     * int (*utimens) (const char *, const struct timespec tv[2]);
338
     *
339
     * @param TypedCDataArray<TimeSpec> $tv
340
     */
341
    public function utimens(string $path, TypedCDataArray $tv): int
0 ignored issues
show
Unused Code introduced by
The parameter $tv is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

341
    public function utimens(string $path, /** @scrutinizer ignore-unused */ TypedCDataArray $tv): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

341
    public function utimens(/** @scrutinizer ignore-unused */ string $path, TypedCDataArray $tv): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
342
    {
343
        return -Errno::ENOSYS;
344
    }
345
346
    /**
347
     * int (*bmap) (const char *, size_t blocksize, uint64_t *idx);
348
     */
349
    public function bmap(string $path, int $blocksize, int &$idx): int
0 ignored issues
show
Unused Code introduced by
The parameter $idx is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

349
    public function bmap(string $path, int $blocksize, /** @scrutinizer ignore-unused */ int &$idx): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

349
    public function bmap(/** @scrutinizer ignore-unused */ string $path, int $blocksize, int &$idx): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $blocksize is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

349
    public function bmap(string $path, /** @scrutinizer ignore-unused */ int $blocksize, int &$idx): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
350
    {
351
        return -Errno::ENOSYS;
352
    }
353
354
    /**
355
     * int (*ioctl) (const char *, int cmd, void *arg, struct fuse_file_info *, unsigned int flags, void *data);
356
     */
357
    public function ioctl(
358
        string $path,
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

358
        /** @scrutinizer ignore-unused */ string $path,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
359
        int $cmd,
0 ignored issues
show
Unused Code introduced by
The parameter $cmd is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

359
        /** @scrutinizer ignore-unused */ int $cmd,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
360
        FuseIoctlArgPointer $arg,
0 ignored issues
show
Unused Code introduced by
The parameter $arg is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

360
        /** @scrutinizer ignore-unused */ FuseIoctlArgPointer $arg,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
361
        FuseFileInfo $fuse_file_info,
0 ignored issues
show
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

361
        /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
362
        int $flags,
0 ignored issues
show
Unused Code introduced by
The parameter $flags is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

362
        /** @scrutinizer ignore-unused */ int $flags,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
363
        FuseIoctlDataPointer $data
0 ignored issues
show
Unused Code introduced by
The parameter $data is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

363
        /** @scrutinizer ignore-unused */ FuseIoctlDataPointer $data

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
364
    ): int {
365
        return -Errno::ENOSYS;
366
    }
367
368
    /**
369
     * int (*poll) (const char *, struct fuse_file_info *, struct fuse_pollhandle *ph, unsigned *reventsp);
370
     */
371
    public function poll(
372
        string $path,
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

372
        /** @scrutinizer ignore-unused */ string $path,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
373
        FuseFileInfo $fuse_file_info,
0 ignored issues
show
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

373
        /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
374
        FusePollHandle $fuse_pollhandle,
0 ignored issues
show
Unused Code introduced by
The parameter $fuse_pollhandle is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

374
        /** @scrutinizer ignore-unused */ FusePollHandle $fuse_pollhandle,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
375
        int &$reventsp
0 ignored issues
show
Unused Code introduced by
The parameter $reventsp is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

375
        /** @scrutinizer ignore-unused */ int &$reventsp

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
376
    ): int {
377
        return -Errno::ENOSYS;
378
    }
379
380
    /**
381
     * int (*write_buf) (const char *, struct fuse_bufvec *buf, off_t off, struct fuse_file_info *);
382
     */
383
    public function writeBuf(string $path, FuseBufVec $buf, int $offset, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $buf is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

383
    public function writeBuf(string $path, /** @scrutinizer ignore-unused */ FuseBufVec $buf, int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $offset is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

383
    public function writeBuf(string $path, FuseBufVec $buf, /** @scrutinizer ignore-unused */ int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

383
    public function writeBuf(string $path, FuseBufVec $buf, int $offset, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

383
    public function writeBuf(/** @scrutinizer ignore-unused */ string $path, FuseBufVec $buf, int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
384
    {
385
        return -Errno::ENOSYS;
386
    }
387
388
    /**
389
     * int (*read_buf) (const char *, struct fuse_bufvec **bufp, size_t size, off_t off, struct fuse_file_info *);
390
     *
391
     * @param TypedCDataArray<FuseBufVec> $bufp
392
     */
393
    public function readBuf(
394
        string $path,
0 ignored issues
show
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

394
        /** @scrutinizer ignore-unused */ string $path,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
395
        TypedCDataArray $bufp,
0 ignored issues
show
Unused Code introduced by
The parameter $bufp is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

395
        /** @scrutinizer ignore-unused */ TypedCDataArray $bufp,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
396
        int $size,
0 ignored issues
show
Unused Code introduced by
The parameter $size is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

396
        /** @scrutinizer ignore-unused */ int $size,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
397
        int $offset,
0 ignored issues
show
Unused Code introduced by
The parameter $offset is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

397
        /** @scrutinizer ignore-unused */ int $offset,

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
398
        FuseFileInfo $fuse_file_info
0 ignored issues
show
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

398
        /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
399
    ): int {
400
        return -Errno::ENOSYS;
401
    }
402
403
    /**
404
     * int (*flock) (const char *, struct fuse_file_info *, int op);
405
     */
406
    public function flock(string $path, FuseFileInfo $fuse_file_info, int $op): int
0 ignored issues
show
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

406
    public function flock(string $path, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info, int $op): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $op is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

406
    public function flock(string $path, FuseFileInfo $fuse_file_info, /** @scrutinizer ignore-unused */ int $op): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

406
    public function flock(/** @scrutinizer ignore-unused */ string $path, FuseFileInfo $fuse_file_info, int $op): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
407
    {
408
        return -Errno::ENOSYS;
409
    }
410
411
    /**
412
     * int (*fallocate) (const char *, int, off_t, off_t, struct fuse_file_info *);
413
     */
414
    public function fallocate(string $path, int $mode, int $offset, FuseFileInfo $fuse_file_info): int
0 ignored issues
show
Unused Code introduced by
The parameter $offset is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

414
    public function fallocate(string $path, int $mode, /** @scrutinizer ignore-unused */ int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $fuse_file_info is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

414
    public function fallocate(string $path, int $mode, int $offset, /** @scrutinizer ignore-unused */ FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $path is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

414
    public function fallocate(/** @scrutinizer ignore-unused */ string $path, int $mode, int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $mode is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

414
    public function fallocate(string $path, /** @scrutinizer ignore-unused */ int $mode, int $offset, FuseFileInfo $fuse_file_info): int

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
415
    {
416
        return -Errno::ENOSYS;
417
    }
418
}
419