GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 6c4153...d181b6 )
by François
03:10
created

InputValidation   A

Complexity

Total Complexity 14

Size/Duplication

Total Lines 72
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 14
lcom 0
cbo 0
dl 0
loc 72
rs 10
c 1
b 0
f 1

14 Methods

Rating   Name   Duplication   Size   Complexity  
A userId() 0 4 1
A commonName() 0 4 1
A displayName() 0 4 1
A vootToken() 0 4 1
A totpSecret() 0 4 1
A profileId() 0 4 1
A dateTime() 0 4 1
A ipAddress() 0 4 1
A ip4() 0 4 1
A ip6() 0 4 1
A connectedAt() 0 4 1
A disconnectedAt() 0 4 1
A bytesTransferred() 0 4 1
A totpKey() 0 4 1
1
<?php
2
/**
3
 *  Copyright (C) 2016 SURFnet.
4
 *
5
 *  This program is free software: you can redistribute it and/or modify
6
 *  it under the terms of the GNU Affero General Public License as
7
 *  published by the Free Software Foundation, either version 3 of the
8
 *  License, or (at your option) any later version.
9
 *
10
 *  This program is distributed in the hope that it will be useful,
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 *  GNU Affero General Public License for more details.
14
 *
15
 *  You should have received a copy of the GNU Affero General Public License
16
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
 */
18
19
namespace SURFnet\VPN\Server\Api;
20
21
class InputValidation
22
{
23
    public static function userId($userId)
0 ignored issues
show
Unused Code introduced by
The parameter $userId is not used and could be removed.

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

Loading history...
24
    {
25
        // TBD
26
    }
27
28
    public static function commonName($commonName)
0 ignored issues
show
Unused Code introduced by
The parameter $commonName is not used and could be removed.

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

Loading history...
29
    {
30
        // TBD
31
    }
32
33
    public static function displayName($displayName)
0 ignored issues
show
Unused Code introduced by
The parameter $displayName is not used and could be removed.

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

Loading history...
34
    {
35
        // TBD
36
    }
37
38
    public static function vootToken($vootToken)
0 ignored issues
show
Unused Code introduced by
The parameter $vootToken is not used and could be removed.

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

Loading history...
39
    {
40
        // TBD
41
    }
42
43
    public static function totpSecret($totpSecret)
0 ignored issues
show
Unused Code introduced by
The parameter $totpSecret is not used and could be removed.

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

Loading history...
44
    {
45
        // TBD
46
    }
47
48
    public static function profileId($profileId)
0 ignored issues
show
Unused Code introduced by
The parameter $profileId is not used and could be removed.

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

Loading history...
49
    {
50
        // TBD
51
    }
52
53
    public static function dateTime($dateTime)
0 ignored issues
show
Unused Code introduced by
The parameter $dateTime is not used and could be removed.

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

Loading history...
54
    {
55
        // TBD
56
    }
57
58
    public static function ipAddress($ipAddress)
0 ignored issues
show
Unused Code introduced by
The parameter $ipAddress is not used and could be removed.

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

Loading history...
59
    {
60
        // TBD
61
    }
62
63
    public static function ip4($ip4)
0 ignored issues
show
Unused Code introduced by
The parameter $ip4 is not used and could be removed.

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

Loading history...
64
    {
65
        // TBD
66
    }
67
68
    public static function ip6($ip6)
0 ignored issues
show
Unused Code introduced by
The parameter $ip6 is not used and could be removed.

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

Loading history...
69
    {
70
        // TBD
71
    }
72
73
    public static function connectedAt($connectedAt)
0 ignored issues
show
Unused Code introduced by
The parameter $connectedAt is not used and could be removed.

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

Loading history...
74
    {
75
        // TBD
76
    }
77
78
    public static function disconnectedAt($disconnectedAt)
0 ignored issues
show
Unused Code introduced by
The parameter $disconnectedAt is not used and could be removed.

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

Loading history...
79
    {
80
        // TBD
81
    }
82
83
    public static function bytesTransferred($bytesTransferred)
0 ignored issues
show
Unused Code introduced by
The parameter $bytesTransferred is not used and could be removed.

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

Loading history...
84
    {
85
        // TBD
86
    }
87
88
    public static function totpKey($totpKey)
0 ignored issues
show
Unused Code introduced by
The parameter $totpKey is not used and could be removed.

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

Loading history...
89
    {
90
        // TBD
91
    }
92
}
93