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.
Completed
Push — master ( b22f14...f975a9 )
by François
02:11
created

ProfileConfig::defaultConfig()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 27
Code Lines 23

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 27
rs 8.8571
cc 1
eloc 23
nc 1
nop 0
1
<?php
2
/**
3
 *  Copyright (C) 2016 SURFnet.
4
 *
5
 *  This program is free software: you can redistribute it and/or modify
6
 *  it under the terms of the GNU Affero General Public License as
7
 *  published by the Free Software Foundation, either version 3 of the
8
 *  License, or (at your option) any later version.
9
 *
10
 *  This program is distributed in the hope that it will be useful,
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 *  GNU Affero General Public License for more details.
14
 *
15
 *  You should have received a copy of the GNU Affero General Public License
16
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
 */
18
19
namespace SURFnet\VPN\Common;
20
21
class ProfileConfig extends Config
22
{
23
    public function __construct(array $configData)
24
    {
25
        parent::__construct($configData);
26
    }
27
28
    public static function defaultConfig()
29
    {
30
        return [
31
            'defaultGateway' => false,
32
            'routes' => [],
33
            'dns' => [],
34
            'useNat' => false,
35
            'twoFactor' => false,
36
            'clientToClient' => false,
37
            'listen' => '::',
38
            'enableLog' => false,
39
            'enableAcl' => false,
40
            'aclGroupList' => [],
41
            'managementIp' => 'auto',
42
            'blockSmb' => false,
43
            'reject4' => false,
44
            'reject6' => false,
45
            'vpnProtoPort' => [
46
                'udp/1194',
47
                'udp/1195',
48
                'tcp/1194',
49
                'tcp/1195',
50
            ],
51
            'portShare' => true,
52
            'hideProfile' => false,
53
        ];
54
    }
55
}
56