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

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

@@ 174-184 (lines=11) @@
171
        }
172
173
        // XXX clean up the stuff below...
174
        if (!is_null($v4Pos)) {
175
            if (!is_null($v4)) {
176
                $clientConfig[$v4Pos] = sprintf('ifconfig-push %s', $v4);
177
            } else {
178
                unset($clientConfig[$v4Pos]);
179
            }
180
        } else {
181
            if (!is_null($v4)) {
182
                $clientConfig[] = sprintf('ifconfig-push %s', $v4);
183
            }
184
        }
185
186
        if (!is_null($v6Pos)) {
187
            if (!is_null($v6)) {
@@ 186-196 (lines=11) @@
183
            }
184
        }
185
186
        if (!is_null($v6Pos)) {
187
            if (!is_null($v6)) {
188
                $clientConfig[$v6Pos] = sprintf('ifconfig-ipv6-push %s', $v6);
189
            } else {
190
                unset($clientConfig[$v6Pos]);
191
            }
192
        } else {
193
            if (!is_null($v6)) {
194
                $clientConfig[] = sprintf('ifconfig-ipv6-push %s', $v6);
195
            }
196
        }
197
198
        $this->writeFile($commonName, $clientConfig);
199
    }