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 (#593)
by
unknown
21:25
created

ResolveErrors   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 4
c 1
b 0
f 0
dl 0
loc 20
ccs 5
cts 5
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getValidationErrors() 0 3 1
A setValidationErrors() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Error;
6
7
use Symfony\Component\Validator\ConstraintViolationListInterface;
8
9
class ResolveErrors
10
{
11
    private $validationErrors;
12
13
    /**
14
     * @internal
15
     */
16 2
    public function setValidationErrors(ConstraintViolationListInterface $errors): void
17
    {
18 2
        $this->validationErrors = $errors;
19 2
    }
20
21
    /**
22
     * Returns a collection of validation violations or null.
23
     *
24
     * @return ConstraintViolationListInterface|null
25
     */
26 2
    public function getValidationErrors(): ?ConstraintViolationListInterface
27
    {
28 2
        return $this->validationErrors;
29
    }
30
}
31