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 (#5)
by Jérémiah
07:11
created

AbstractResolverTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 1
cbo 1
dl 0
loc 18
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
createResolver() 0 1 ?
getResolverSolutionsMapping() 0 1 ?
A setUp() 0 8 2
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\Tests\Resolver;
13
14
use Overblog\GraphQLBundle\Resolver\AbstractResolver;
15
16
abstract class AbstractResolverTest extends \PHPUnit_Framework_TestCase
17
{
18
    /** @var AbstractResolver */
19
    protected $resolver;
20
21
    abstract protected function createResolver();
22
23
    abstract protected function getResolverSolutionsMapping();
24
25
    public function setUp()
26
    {
27
        $this->resolver = $this->createResolver();
28
29
        foreach ($this->getResolverSolutionsMapping() as $name => $options) {
30
            $this->resolver->addSolution($name, $options['solution'], $options);
31
        }
32
    }
33
}
34