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 (#678)
by Henrique
02:51
created

Message   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 39
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 0
dl 0
loc 39
c 0
b 0
f 0
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getMain() 0 3 1
A getFull() 0 3 1
A getList() 0 3 1
A getAll() 0 3 1
A __toString() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of Respect/Validation.
5
 *
6
 * (c) Alexandre Gomes Gaigalas <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the "LICENSE.md"
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Respect\Validation\Message;
13
14
use Doctrine\Common\Annotations\Reader;
15
use Respect\Validation\Result;
16
17
final class Message
18
{
19
    /**
20
     * @var Result
21
     */
22
    private $result;
23
24
    /**
25
     * @var Reader
26
     */
27
    private $annotationReader;
28
29
    public function __construct(Result $result, Reader $annotationReader)
30
    {
31
        $this->result = $result;
32
        $this->annotationReader = $annotationReader;
33
    }
34
35
    public function getMain(): string
36
    {
37
    }
38
39
    public function getFull(): string
40
    {
41
    }
42
43
    public function getList(): string
44
    {
45
    }
46
47
    public function getAll(): array
48
    {
49
    }
50
51
    public function __toString(): string
52
    {
53
        return $this->getMain();
54
    }
55
}
56