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
22:04
created

Builder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
eloc 6
dl 0
loc 21
rs 10
c 2
b 1
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Annotation;
6
7
use Attribute;
8
use Doctrine\Common\Annotations\NamedArgumentConstructorAnnotation;
9
10
/**
11
 * Annotation for GraphQL builders
12
 *
13
 * @Annotation
14
 * @Target({"PROPERTY", "METHOD"})
15
 */
16
#[Attribute(Attribute::TARGET_PROPERTY | Attribute::TARGET_METHOD)]
17
abstract class Builder extends Annotation implements NamedArgumentConstructorAnnotation
18
{
19
    /**
20
     * Builder name.
21
     */
22
    public string $name;
23
24
    /**
25
     * The builder config.
26
     */
27
    public array $config = [];
28
29
    /**
30
     * @param string|null $name   The name of the builder
31
     * @param array       $config The builder configuration array
32
     */
33
    public function __construct(string $name = null, array $config = [])
34
    {
35
        $this->name = $name;
36
        $this->config = $config;
37
    }
38
}
39