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
17:59 queued 05:58
created

EvaluatorIsNotAllowedException   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 75%

Importance

Changes 3
Bugs 0 Features 0
Metric Value
wmc 2
eloc 6
c 3
b 0
f 0
dl 0
loc 13
ccs 6
cts 8
cp 0.75
rs 10

2 Methods

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