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 (#377)
by Hugo
12:43
created

DeprecationWarning   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 18
ccs 0
cts 8
cp 0
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A isClientSafe() 0 4 1
A getCategory() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Error;
6
7
use GraphQL\Error\ClientAware;
8
9
/**
10
 * Class UserWarning.
11
 */
12
class DeprecationWarning extends \RuntimeException implements ClientAware
13
{
14
    /**
15
     * {@inheritdoc}
16
     */
17
    public function isClientSafe()
18
    {
19
        return true;
20
    }
21
22
    /**
23
     * {@inheritdoc}
24
     */
25
    public function getCategory()
26
    {
27
        return 'user';
28
    }
29
}
30