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.

Alliance   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 19
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A headers() 0 16 1
1
<?php declare(strict_types=1);
2
3
namespace WyriMaps\XHeaders;
4
5
final class Alliance
6
{
7 1
    public static function headers(): array
8
    {
9
        return [
10 1
            'X-Stormwind-Guard' => 'King\'s honor friend',
11
            'X-Tyrande-Whisperwind' => 'Anu\'dora!',
12
            'X-Draenei' => 'The Naaru have not forgotten us.',
13
            'X-Gnome' => 'My, you\'re a tall one!',
14
            'X-Night-Elf' => 'Elune be with you.',
15
            'X-Worgen' => 'What\'s your story?',
16
            'X-Dwarf' => 'For Khaz Modan!',
17
            'X-Human' => 'For the Alliance!',
18
            'X-Varian-Wrynn' => 'Stormwind honors your service to the Alliance',
19
            'X-Arthas-Menethil' => 'For Lordaeron!',
20
            'X-Magni-Bronzebeard' => 'Feel the fury of the mountain!',
21
        ];
22
    }
23
}
24