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 (#277)
by Jérémiah
20:41
created

GlobalVariablesTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testGetUnknownService() 0 6 1
1
<?php
2
3
namespace Overblog\GraphQLBundle\Tests\Definition;
4
5
use Overblog\GraphQLBundle\Definition\GlobalVariables;
6
use PHPUnit\Framework\TestCase;
7
8
class GlobalVariablesTest extends TestCase
9
{
10
    public function testGetUnknownService()
11
    {
12
        $this->expectException(\LogicException::class);
13
        $this->expectExceptionMessage('Global variable "unknown" could not be located. You should define it.');
14
        (new GlobalVariables())->get('unknown');
15
    }
16
}
17