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
19:59
created

EvaluatorIsNotAllowedException   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 3
Bugs 0 Features 0
Metric Value
wmc 2
eloc 6
c 3
b 0
f 0
dl 0
loc 13
ccs 8
cts 8
cp 1
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 140
    public function __construct(string $expressionFunctionName, int $code = 0, Throwable $previous = null)
12
    {
13 140
        parent::__construct(
14 140
            "The expression function '$expressionFunctionName' cannot be used by it's evaluator.",
15 140
            $code,
16 140
            $previous
17
        );
18 140
    }
19 7
    public function __invoke(): void
20
    {
21 7
        throw $this;
22
    }
23
}
24