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.

ProfileConfig::defaultConfig()   B
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 25
Code Lines 21

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 25
rs 8.8571
c 0
b 0
f 0
cc 1
eloc 21
nc 1
nop 0
1
<?php
2
3
/**
4
 * eduVPN - End-user friendly VPN.
5
 *
6
 * Copyright: 2016-2017, The Commons Conservancy eduVPN Programme
7
 * SPDX-License-Identifier: AGPL-3.0+
8
 */
9
10
namespace SURFnet\VPN\Common;
11
12
class ProfileConfig extends Config
13
{
14
    public function __construct(array $configData)
15
    {
16
        parent::__construct($configData);
17
    }
18
19
    public static function defaultConfig()
20
    {
21
        return [
22
            'defaultGateway' => false,
23
            'routes' => [],
24
            'dns' => [],
25
            'useNat' => false,
26
            'twoFactor' => false,
27
            'clientToClient' => false,
28
            'listen' => '::',
29
            'enableLog' => false,
30
            'enableAcl' => false,
31
            'aclGroupList' => [],
32
            'managementIp' => '127.0.0.1',
33
            'blockSmb' => false,
34
            'reject4' => false,
35
            'reject6' => false,
36
            'vpnProtoPorts' => [
37
                'udp/1194',
38
                'tcp/1194',
39
            ],
40
            'hideProfile' => false,
41
            'tlsCrypt' => false,
42
        ];
43
    }
44
}
45