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:10
created

Message::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 5
c 0
b 0
f 0
ccs 0
cts 5
cp 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
crap 2
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