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
Pull Request — master (#240)
by Renato
21:21 queued 17:44
created

ExpressionFunction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 9
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace Overblog\GraphQLBundle\ExpressionLanguage;
4
5
use Symfony\Component\ExpressionLanguage\ExpressionFunction as BaseExpressionFunction;
6
7
class ExpressionFunction extends BaseExpressionFunction
8
{
9
    public function __construct($name, callable $compiler)
10
    {
11 60
        parent::__construct($name, $compiler, function () {
12 1
            throw new \RuntimeException('Evaluator is not needed');
13 60
        });
14
    }
15
}
16