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 4 locations

bin/generate-firewall.php 1 location

@@ 25-36 (lines=12) @@
22
use SURFnet\VPN\Server\InstanceConfig;
23
use SURFnet\VPN\Common\FileIO;
24
25
function showHelp(array $argv)
26
{
27
    return implode(
28
        PHP_EOL,
29
        [
30
            sprintf('SYNTAX: %s [--install]', $argv[0]),
31
            '',
32
            '--install  install the firewall rules',
33
            '',
34
        ]
35
    );
36
}
37
38
try {
39
    $installFw = false;

bin/init.php 1 location

@@ 23-34 (lines=12) @@
20
21
use SURFnet\VPN\Server\OtpLog;
22
23
function showHelp(array $argv)
24
{
25
    return implode(
26
        PHP_EOL,
27
        [
28
            sprintf('SYNTAX: %s [--instance domain.tld]', $argv[0]),
29
            '',
30
            '--instance domain.tld      the instance to initialize',
31
            '',
32
        ]
33
    );
34
}
35
36
try {
37
    $instanceId = null;

bin/stats.php 1 location

@@ 23-34 (lines=12) @@
20
21
use SURFnet\VPN\Common\FileIO;
22
23
function showHelp(array $argv)
24
{
25
    return implode(
26
        PHP_EOL,
27
        [
28
            sprintf('SYNTAX: %s [--instance domain.tld]', $argv[0]),
29
            '',
30
            '--instance domain.tld      the instance to generate stats for',
31
            '',
32
        ]
33
    );
34
}
35
36
try {
37
    $instanceId = null;

bin/status.php 1 location

@@ 26-37 (lines=12) @@
23
use SURFnet\VPN\Server\OpenVpn\ServerManager;
24
use SURFnet\VPN\Server\OpenVpn\ManagementSocket;
25
26
function showHelp(array $argv)
27
{
28
    return implode(
29
        PHP_EOL,
30
        [
31
            sprintf('SYNTAX: %s [--instance domain.tld]', $argv[0]),
32
            '',
33
            '--instance domain.tld      the VPN instance to get the status for',
34
            '',
35
        ]
36
    );
37
}
38
39
try {
40
    $instanceId = null;