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.

Code Duplication    Length = 12-12 lines in 2 locations

src/SURFnet/VPN/Server/Api/ConnectionLog.php 1 location

@@ 105-116 (lines=12) @@
102
        return true;
103
    }
104
105
    public function housekeeping($timeUnix)
106
    {
107
        $stmt = $this->db->prepare(
108
            sprintf(
109
                'DELETE FROM connection_log
110
                    WHERE connected_at < :time_unix'
111
            )
112
        );
113
114
        $stmt->bindValue(':time_unix', $timeUnix, PDO::PARAM_INT);
115
        $stmt->execute();
116
    }
117
118
    public function init()
119
    {

src/SURFnet/VPN/Server/Api/OtpLog.php 1 location

@@ 64-75 (lines=12) @@
61
        return true;
62
    }
63
64
    public function housekeeping($timeUnix)
65
    {
66
        $stmt = $this->db->prepare(
67
            sprintf(
68
                'DELETE FROM otp_log
69
                    WHERE time_unix < :time_unix'
70
            )
71
        );
72
73
        $stmt->bindValue(':time_unix', $timeUnix, PDO::PARAM_INT);
74
        $stmt->execute();
75
    }
76
77
    public function init()
78
    {