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 ( 789986...f8b0bb )
by Freek
01:34
created

InvalidRequest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 3
lcom 1
cbo 1
dl 0
loc 17
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A tokenNotFound() 0 4 1
A invalidToken() 0 4 1
A invalidSignature() 0 4 1
1
<?php
2
3
namespace Spatie\SlashCommand\Exceptions;
4
5
class InvalidRequest extends SlackSlashCommandException
6
{
7
    public static function tokenNotFound()
8
    {
9
        return new static('The request did not contain a token.');
10
    }
11
12
    public static function invalidToken($token)
13
    {
14
        return new static("The request had an invalid token `{$token}`.");
15
    }
16
17
    public static function invalidSignature($signature)
18
    {
19
        return new static("The request had an invalid signature `{$signature}`.");
20
    }
21
}
22