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 = 9-13 lines in 2 locations

src/fkooman/VPN/Server/ServerService.php 2 locations

@@ 83-91 (lines=9) @@
80
81
        $this->post(
82
            '/kill',
83
            function (Request $request) {
84
                $commonName = $request->getPostParameter('common_name');
85
                Utils::validateCommonName($commonName);
86
87
                $response = new JsonResponse();
88
                $response->setBody($this->serverManager->kill($commonName));
89
90
                return $response;
91
            }
92
        );
93
94
        $this->post(
@@ 116-128 (lines=13) @@
113
114
        $this->delete(
115
            '/ccd/disable',
116
            function (Request $request) {
117
                $commonName = $request->getUrl()->getQueryParameter('common_name');
118
                Utils::validateCommonName($commonName);
119
120
                $response = new JsonResponse();
121
                $response->setBody(
122
                    array(
123
                        'ok' => $this->ccdHandler->enableCommonName($commonName),
124
                    )
125
                );
126
127
                return $response;
128
            }
129
        );
130
131
        $this->get(