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 (#801)
by Timur
20:26
created

Annotation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 6
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A cumulatedAttributesException() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Annotation;
6
7
use Doctrine\Common\Annotations\AnnotationException;
8
9
abstract class Annotation
10
{
11
    protected function cumulatedAttributesException(string $attribute, string $value, string $attributeValue): void
12
    {
13
        $annotationName = str_replace('Overblog\GraphQLBundle\Annotation\\', '', get_class($this));
14
        throw new AnnotationException(sprintf('The @%s %s is defined by both the default attribute "%s" and the %s attribute "%s". Pick one.', $annotationName, $attribute, $value, $attribute, $attributeValue));
15
    }
16
}
17