Passed
Push — master ( 9acb33...13732c )
by Tim
03:41
created

KRB5CCache::isValid()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
nc 1
nop 1
dl 0
loc 2
rs 10
c 1
b 0
f 0
1
<?php
2
3
class KRB5NegotiateAuth
4
{
5
    /**
6
     * @param string $keytab
7
     * @param string $spn
8
     */
9
    public function __construct($keytab, $spn)
0 ignored issues
show
Unused Code introduced by
The parameter $spn 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

9
    public function __construct($keytab, /** @scrutinizer ignore-unused */ $spn)

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 $keytab 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

9
    public function __construct(/** @scrutinizer ignore-unused */ $keytab, $spn)

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...
10
    {
11
    }
12
13
14
    /**
15
     * @return bool
16
     */
17
    public function doAuthentication()
18
    {
19
    }
20
21
22
    /**
23
     * @return string
24
     */
25
    public function getAuthenticatedUser()
26
    {
27
    }
28
29
30
    /**
31
     * @param KRB5CCache $ccache
32
     * @return void
33
     */
34
    public function getDelegatedCredentials(KRB5CCache $ccache)
0 ignored issues
show
Unused Code introduced by
The parameter $ccache 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

34
    public function getDelegatedCredentials(/** @scrutinizer ignore-unused */ KRB5CCache $ccache)

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...
35
    {
36
    }
37
}
38
39
40
class KRB5CCache
41
{
42
    /**
43
     *
44
     */
45
    public function __construct()
46
    {
47
    }
48
49
50
    /**
51
     * @return string
52
     */
53
    public function getName()
54
    {
55
    }
56
57
58
    /**
59
     * @param string $src
60
     * @return bool
61
     */
62
    public function open($src)
0 ignored issues
show
Unused Code introduced by
The parameter $src 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

62
    public function open(/** @scrutinizer ignore-unused */ $src)

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
    }
65
66
67
    /**
68
     * @param string $dest
69
     * @return bool
70
     */
71
    public function save($dest)
0 ignored issues
show
Unused Code introduced by
The parameter $dest 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 save(/** @scrutinizer ignore-unused */ $dest)

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
76
    /**
77
     * @param string $principal
78
     * @param string $pass
79
     * @param array|null $options
80
     * @return bool
81
     */
82
    public function initPassword($principal, $pass, $options = null)
0 ignored issues
show
Unused Code introduced by
The parameter $principal 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

82
    public function initPassword(/** @scrutinizer ignore-unused */ $principal, $pass, $options = null)

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 $pass 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

82
    public function initPassword($principal, /** @scrutinizer ignore-unused */ $pass, $options = null)

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 $options 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

82
    public function initPassword($principal, $pass, /** @scrutinizer ignore-unused */ $options = null)

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...
83
    {
84
    }
85
86
87
    /**
88
     * @param string $principal
89
     * @param string $keytab_file
90
     * @param array|null $options
91
     * @return bool
92
     */
93
    public function initKeytab($principal, $keytab_file, $options = null)
0 ignored issues
show
Unused Code introduced by
The parameter $options 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

93
    public function initKeytab($principal, $keytab_file, /** @scrutinizer ignore-unused */ $options = null)

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 $principal 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

93
    public function initKeytab(/** @scrutinizer ignore-unused */ $principal, $keytab_file, $options = null)

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 $keytab_file 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

93
    public function initKeytab($principal, /** @scrutinizer ignore-unused */ $keytab_file, $options = null)

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...
94
    {
95
    }
96
97
98
    /**
99
     * @return string
100
     */
101
    public function getPrincipal()
102
    {
103
    }
104
105
106
    /**
107
     * @return string
108
     */
109
    public function getRealm()
110
    {
111
    }
112
113
114
    /**
115
     * @return array
116
     */
117
    public function getLifetime()
118
    {
119
    }
120
121
122
    /**
123
     * @return array
124
     */
125
    public function getEntries()
126
    {
127
    }
128
129
130
    /**
131
     * @param int $timeRemain
132
     * @return bool
133
     */
134
    public function isValid($timeRemain = 0)
0 ignored issues
show
Unused Code introduced by
The parameter $timeRemain 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

134
    public function isValid(/** @scrutinizer ignore-unused */ $timeRemain = 0)

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...
135
    {
136
    }
137
138
139
    /**
140
     * @param string|null $prefix
141
     * @return array
142
     */
143
    public function getTktAttrs($prefix = null)
0 ignored issues
show
Unused Code introduced by
The parameter $prefix 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 getTktAttrs(/** @scrutinizer ignore-unused */ $prefix = null)

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
    }
146
147
148
    /**
149
     * @return bool
150
     */
151
    public function renew()
152
    {
153
    }
154
155
156
    /**
157
     * @param string $principal
158
     * @param string $oldpass
159
     * @param string $newpass
160
     * @return bool
161
     */
162
    public function changePassword($principal, $oldpass, $newpass)
0 ignored issues
show
Unused Code introduced by
The parameter $principal 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

162
    public function changePassword(/** @scrutinizer ignore-unused */ $principal, $oldpass, $newpass)

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 $oldpass 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

162
    public function changePassword($principal, /** @scrutinizer ignore-unused */ $oldpass, $newpass)

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 $newpass 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

162
    public function changePassword($principal, $oldpass, /** @scrutinizer ignore-unused */ $newpass)

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...
163
    {
164
    }
165
166
167
    /**
168
     * @return array
169
     */
170
    public function getExpirationTime()
171
    {
172
    }
173
}
174