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
03:16
created

Message   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 39
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 0
dl 0
loc 39
c 0
b 0
f 0
ccs 0
cts 21
cp 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
namespace Respect\Validation\Message;
4
5
use Doctrine\Common\Annotations\Reader;
6
use Respect\Validation\Result;
7
8
final class Message
9
{
10
    /**
11
     * @var Result
12
     */
13
    private $result;
14
15
    /**
16
     * @var Reader
17
     */
18
    private $annotationReader;
19
20
    public function __construct(Result $result, Reader $annotationReader)
21
    {
22
        $this->result = $result;
23
        $this->annotationReader = $annotationReader;
24
    }
25
26
    public function getMain(): string
27
    {
28
    }
29
30
    public function getFull(): string
31
    {
32
    }
33
34
    public function getList(): string
35
    {
36
    }
37
38
    public function getAll(): array
39
    {
40
    }
41
42
    public function __toString(): string
43
    {
44
        return $this->getMain();
45
    }
46
}
47