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::getCategory()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
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