Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Passed
Pull Request — master (#536)
by
unknown
20:45
created

EvaluatorIsNotAllowedException   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 6
c 1
b 0
f 0
dl 0
loc 14
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __invoke() 0 3 1
A __construct() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\ExpressionLanguage\Exception;
6
7
use Throwable;
8
9
class EvaluatorIsNotAllowedException extends \Exception
10
{
11
    public function __construct(string $expressionFunctionName, int $code = 0, Throwable $previous = null)
12
    {
13
        parent::__construct(
14
            "The expression function '$expressionFunctionName' cannot be used by it's evaluator.",
15
            $code,
16
            $previous
17
        );
18
    }
19
20
    public function __invoke(): void
21
    {
22
        throw $this;
23
    }
24
}
25