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

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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