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::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 5
CRAP Score 1

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 4
c 2
b 0
f 0
dl 0
loc 6
ccs 5
cts 5
cp 1
rs 10
cc 1
nc 1
nop 3
crap 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