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

Completed
Push — master ( e97c5c...a60555 )
by Jérémiah
20:27 queued 10s
created

ExpressionFunction   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
eloc 4
dl 0
loc 9
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 2
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\ExpressionLanguage;
6
7
use Overblog\GraphQLBundle\ExpressionLanguage\Exception\EvaluatorIsNotAllowedException;
8
use Symfony\Component\ExpressionLanguage\ExpressionFunction as BaseExpressionFunction;
9
10
class ExpressionFunction extends BaseExpressionFunction
11
{
12 188
    public function __construct(string $name, callable $compiler, ?callable $evaluator = null)
13
    {
14 188
        if (null === $evaluator) {
15 143
            $evaluator = new EvaluatorIsNotAllowedException($name);
16
        }
17
18 188
        parent::__construct($name, $compiler, $evaluator);
19 188
    }
20
}
21