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.
Failed Conditions
Pull Request — master (#1)
by Harald
07:59 queued 03:39
created

MissingParameterException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace Bokbasen\ApiClient\Exceptions;
4
5
class MissingParameterException extends \Exception
6
{
7
    public function __construct(string $parameter)
8
    {
9
        parent::__construct(sprintf('Parameter "%s" has no value.', $parameter), 503);
10
    }
11
}
12