razonyang /
mediawiki-zhconverter
| 1 | <?php |
||||||||
| 2 | namespace RazonYang\MediaWiki\ZhConverter; |
||||||||
| 3 | |||||||||
| 4 | class FakeMemCachedClient |
||||||||
| 5 | { |
||||||||
| 6 | public function add($key, $val, $exp = 0) |
||||||||
|
0 ignored issues
–
show
The parameter
$key 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
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...
The parameter
$exp 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
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...
|
|||||||||
| 7 | { |
||||||||
| 8 | return true; |
||||||||
| 9 | } |
||||||||
| 10 | |||||||||
| 11 | public function decr($key, $amt = 1) |
||||||||
|
0 ignored issues
–
show
The parameter
$amt 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
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...
The parameter
$key 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
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...
|
|||||||||
| 12 | { |
||||||||
| 13 | return null; |
||||||||
| 14 | } |
||||||||
| 15 | |||||||||
| 16 | public function delete($key, $time = 0) |
||||||||
|
0 ignored issues
–
show
The parameter
$key 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
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...
The parameter
$time 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
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...
|
|||||||||
| 17 | { |
||||||||
| 18 | return false; |
||||||||
| 19 | } |
||||||||
| 20 | |||||||||
| 21 | public function makeKey() |
||||||||
| 22 | { |
||||||||
| 23 | } |
||||||||
| 24 | |||||||||
| 25 | public function disconnect_all() |
||||||||
| 26 | { |
||||||||
| 27 | } |
||||||||
| 28 | |||||||||
| 29 | public function enable_compress($enable) |
||||||||
|
0 ignored issues
–
show
The parameter
$enable 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
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...
|
|||||||||
| 30 | { |
||||||||
| 31 | } |
||||||||
| 32 | |||||||||
| 33 | public function forget_dead_hosts() |
||||||||
| 34 | { |
||||||||
| 35 | } |
||||||||
| 36 | |||||||||
| 37 | public function get($key) |
||||||||
|
0 ignored issues
–
show
The parameter
$key 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
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...
|
|||||||||
| 38 | { |
||||||||
| 39 | return null; |
||||||||
| 40 | } |
||||||||
| 41 | |||||||||
| 42 | public function get_multi($keys) |
||||||||
| 43 | { |
||||||||
| 44 | return array_pad(array(), count($keys), null); |
||||||||
| 45 | } |
||||||||
| 46 | |||||||||
| 47 | public function incr($key, $amt = 1) |
||||||||
|
0 ignored issues
–
show
The parameter
$amt 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
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...
The parameter
$key 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
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...
|
|||||||||
| 48 | { |
||||||||
| 49 | return null; |
||||||||
| 50 | } |
||||||||
| 51 | |||||||||
| 52 | public function replace($key, $value, $exp = 0) |
||||||||
|
0 ignored issues
–
show
The parameter
$key 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
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...
The parameter
$exp 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
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...
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
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...
|
|||||||||
| 53 | { |
||||||||
| 54 | return false; |
||||||||
| 55 | } |
||||||||
| 56 | |||||||||
| 57 | public function run_command($sock, $cmd) |
||||||||
|
0 ignored issues
–
show
The parameter
$sock 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
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...
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
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...
|
|||||||||
| 58 | { |
||||||||
| 59 | return null; |
||||||||
| 60 | } |
||||||||
| 61 | |||||||||
| 62 | public function set($key, $value, $exp = 0) |
||||||||
|
0 ignored issues
–
show
The parameter
$key 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
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...
The parameter
$exp 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
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...
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
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...
|
|||||||||
| 63 | { |
||||||||
| 64 | return true; |
||||||||
| 65 | } |
||||||||
| 66 | |||||||||
| 67 | public function set_compress_threshold($thresh) |
||||||||
|
0 ignored issues
–
show
The parameter
$thresh 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
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...
|
|||||||||
| 68 | { |
||||||||
| 69 | } |
||||||||
| 70 | |||||||||
| 71 | public function set_debug($dbg) |
||||||||
|
0 ignored issues
–
show
The parameter
$dbg 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
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 | } |
||||||||
| 74 | |||||||||
| 75 | public function set_servers($list) |
||||||||
|
0 ignored issues
–
show
The parameter
$list 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
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...
|
|||||||||
| 76 | { |
||||||||
| 77 | } |
||||||||
| 78 | } |
||||||||
| 79 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.