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

Completed
Pull Request — master (#750)
by Timur
22:37
created

Field   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Hydrator\Annotation;
6
7
use Doctrine\Common\Annotations\Annotation\Required;
8
9
/**
10
 * @Annotation
11
 * @Target({"PROPERTY"})
12
 */
13
class Field
14
{
15
    /**
16
     * @Required
17
     */
18
    public string $name;
19
20
    public function __construct($values)
21
    {
22
        $this->name = $values['value'] ?? $values['mapFrom'];
23
    }
24
}
25