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.

RequestCouldNotBeHandled   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A noHandlerFound() 0 4 1
1
<?php
2
3
namespace Spatie\SlashCommand\Exceptions;
4
5
use Spatie\SlashCommand\Request;
6
7
class RequestCouldNotBeHandled extends SlackSlashCommandException
8
{
9
    public static function noHandlerFound(Request $request)
10
    {
11
        return new static('There is no handler found that can handle request '.print_r($request->all(), true));
12
    }
13
}
14