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::headers()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 16

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 16
ccs 2
cts 2
cp 1
rs 9.7333
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 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