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 (#40)
by Jérémiah
13:22
created

ClassLoaderListener   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 2
c 1
b 1
f 0
lcom 1
cbo 1
dl 0
loc 14
ccs 6
cts 6
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A load() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the OverblogGraphQLBundle package.
5
 *
6
 * (c) Overblog <http://github.com/overblog/>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Overblog\GraphQLBundle\EventListener;
13
14
use Overblog\GraphQLBundle\Generator\TypeGenerator;
15
16
class ClassLoaderListener
17
{
18
    private $typeGenerator;
19
20 4
    public function __construct(TypeGenerator $typeGenerator)
21
    {
22 4
        $this->typeGenerator = $typeGenerator;
23 4
    }
24
25 25
    public function load()
26
    {
27 25
        $this->typeGenerator->loadClasses();
28 25
    }
29
}
30