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

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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