GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

CoverFishMapping   A
last analyzed

Complexity

Total Complexity 16

Size/Duplication

Total Lines 170
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 16
lcom 0
cbo 0
dl 0
loc 170
rs 10
c 0
b 0
f 0

16 Methods

Rating   Name   Duplication   Size   Complexity  
A getAnnotation() 0 4 1
A setAnnotation() 0 4 1
A getClass() 0 4 1
A setClass() 0 4 1
A getClassFQN() 0 4 1
A setClassFQN() 0 4 1
A getMethod() 0 4 1
A setMethod() 0 4 1
A getValidatorMatch() 0 4 1
A setValidatorMatch() 0 4 1
A getValidatorClass() 0 4 1
A setValidatorClass() 0 4 1
A getValidatorResult() 0 4 1
A setValidatorResult() 0 4 1
A getAccessor() 0 4 1
A setAccessor() 0 4 1
1
<?php
2
3
namespace DF\PHPCoverFish\Common;
4
5
/**
6
 * Class CoverFishMapping
7
 *
8
 * @package    DF\PHPCoverFish
9
 * @author     Patrick Paechnatz <[email protected]>
10
 * @copyright  2015 Patrick Paechnatz <[email protected]>
11
 * @license    http://www.opensource.org/licenses/MIT
12
 * @link       http://github.com/dunkelfrosch/phpcoverfish/tree
13
 * @since      class available since Release 0.9.0
14
 * @version    0.9.9
15
 *
16
 * @codeCoverageIgnore
17
 */
18
class CoverFishMapping
19
{
20
    /**
21
     * @var string
22
     */
23
    private $annotation;
24
25
    /**
26
     * @var string
27
     */
28
    private $class;
29
30
    /**
31
     * @var string
32
     */
33
    private $classFQN;
34
35
    /**
36
     * @var string
37
     */
38
    private $method;
39
40
    /**
41
     * @var string
42
     */
43
    private $accessor;
44
45
    /**
46
     * @var string
47
     */
48
    private $validatorMatch;
49
50
    /**
51
     * @var string
52
     */
53
    private $validatorClass;
54
55
    /**
56
     * @var CoverFishResult
57
     */
58
    private $validatorResult;
59
60
    /**
61
     * @return string
62
     */
63
    public function getAnnotation()
64
    {
65
        return $this->annotation;
66
    }
67
68
    /**
69
     * @param string $annotation
70
     */
71
    public function setAnnotation($annotation)
72
    {
73
        $this->annotation = $annotation;
74
    }
75
76
    /**
77
     * @return string
78
     */
79
    public function getClass()
80
    {
81
        return $this->class;
82
    }
83
84
    /**
85
     * @param string $class
86
     */
87
    public function setClass($class)
88
    {
89
        $this->class = $class;
90
    }
91
92
    /**
93
     * @return string
94
     */
95
    public function getClassFQN()
96
    {
97
        return $this->classFQN;
98
    }
99
100
    /**
101
     * @param string $classFQN
102
     */
103
    public function setClassFQN($classFQN)
104
    {
105
        $this->classFQN = $classFQN;
106
    }
107
108
    /**
109
     * @return string
110
     */
111
    public function getMethod()
112
    {
113
        return $this->method;
114
    }
115
116
    /**
117
     * @param string $method
118
     */
119
    public function setMethod($method)
120
    {
121
        $this->method = $method;
122
    }
123
124
    /**
125
     * @return string
126
     */
127
    public function getValidatorMatch()
128
    {
129
        return $this->validatorMatch;
130
    }
131
132
    /**
133
     * @param string $validatorMatch
134
     */
135
    public function setValidatorMatch($validatorMatch)
136
    {
137
        $this->validatorMatch = $validatorMatch;
138
    }
139
140
    /**
141
     * @return string
142
     */
143
    public function getValidatorClass()
144
    {
145
        return $this->validatorClass;
146
    }
147
148
    /**
149
     * @param string $validatorClass
150
     */
151
    public function setValidatorClass($validatorClass)
152
    {
153
        $this->validatorClass = $validatorClass;
154
    }
155
156
    /**
157
     * @return CoverFishResult
158
     */
159
    public function getValidatorResult()
160
    {
161
        return $this->validatorResult;
162
    }
163
164
    /**
165
     * @param CoverFishResult $validatorResult
166
     */
167
    public function setValidatorResult($validatorResult)
168
    {
169
        $this->validatorResult = $validatorResult;
170
    }
171
172
    /**
173
     * @return string
174
     */
175
    public function getAccessor()
176
    {
177
        return $this->accessor;
178
    }
179
180
    /**
181
     * @param string $accessor
182
     */
183
    public function setAccessor($accessor)
184
    {
185
        $this->accessor = $accessor;
186
    }
187
}