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

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.
Passed
Pull Request — dev-extbase-fluid (#723)
by Alexander
06:23 queued 03:33
created

Metadata::getFormat()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * (c) Kitodo. Key to digital objects e.V. <[email protected]>
5
 *
6
 * This file is part of the Kitodo and TYPO3 projects.
7
 *
8
 * @license GNU General Public License version 3 or later.
9
 * For the full copyright and license information, please read the
10
 * LICENSE.txt file that was distributed with this source code.
11
 */
12
13
namespace Kitodo\Dlf\Domain\Model;
14
15
class Metadata extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $sorting;
21
    /**
22
     * @var string
23
     */
24
    protected $label;
25
    /**
26
     * @var string
27
     */
28
    protected $index_name;
29
    /**
30
     * @var int
31
     */
32
    protected $format;
33
    /**
34
     * @var string
35
     */
36
    protected $default_value;
37
    /**
38
     * @var string
39
     */
40
    protected $wrap;
41
    /**
42
     * @var int
43
     */
44
    protected $index_tokenized;
45
    /**
46
     * @var int
47
     */
48
    protected $index_stored;
49
    /**
50
     * @var int
51
     */
52
    protected $index_indexed;
53
    /**
54
     * @var float
55
     */
56
    protected $index_boost;
57
    /**
58
     * @var int
59
     */
60
    protected $is_sortable;
61
    /**
62
     * @var int
63
     */
64
    protected $is_facet;
65
    /**
66
     * @var int
67
     */
68
    protected $is_listed;
69
    /**
70
     * @var int
71
     */
72
    protected $index_autocomplete;
73
    /**
74
     * @var int
75
     */
76
    protected $status;
77
78
    /**
79
     * @return int
80
     */
81
    public function getSorting(): int
82
    {
83
        return $this->sorting;
84
    }
85
86
    /**
87
     * @param int $sorting
88
     */
89
    public function setSorting(int $sorting): void
90
    {
91
        $this->sorting = $sorting;
92
    }
93
94
    /**
95
     * @return string
96
     */
97
    public function getLabel(): string
98
    {
99
        return $this->label;
100
    }
101
102
    /**
103
     * @param string $label
104
     */
105
    public function setLabel(string $label): void
106
    {
107
        $this->label = $label;
108
    }
109
110
    /**
111
     * @return string
112
     */
113
    public function getIndexName(): string
114
    {
115
        return $this->index_name;
116
    }
117
118
    /**
119
     * @param string $index_name
120
     */
121
    public function setIndexName(string $index_name): void
122
    {
123
        $this->index_name = $index_name;
124
    }
125
126
    /**
127
     * @return int
128
     */
129
    public function getFormat(): int
130
    {
131
        return $this->format;
132
    }
133
134
    /**
135
     * @param int $format
136
     */
137
    public function setFormat(int $format): void
138
    {
139
        $this->format = $format;
140
    }
141
142
    /**
143
     * @return string
144
     */
145
    public function getDefaultValue(): string
146
    {
147
        return $this->default_value;
148
    }
149
150
    /**
151
     * @param string $default_value
152
     */
153
    public function setDefaultValue(string $default_value): void
154
    {
155
        $this->default_value = $default_value;
156
    }
157
158
    /**
159
     * @return string
160
     */
161
    public function getWrap(): string
162
    {
163
        return $this->wrap;
164
    }
165
166
    /**
167
     * @param string $wrap
168
     */
169
    public function setWrap(string $wrap): void
170
    {
171
        $this->wrap = $wrap;
172
    }
173
174
    /**
175
     * @return int
176
     */
177
    public function getIndexTokenized(): int
178
    {
179
        return $this->index_tokenized;
180
    }
181
182
    /**
183
     * @param int $index_tokenized
184
     */
185
    public function setIndexTokenized(int $index_tokenized): void
186
    {
187
        $this->index_tokenized = $index_tokenized;
188
    }
189
190
    /**
191
     * @return int
192
     */
193
    public function getIndexStored(): int
194
    {
195
        return $this->index_stored;
196
    }
197
198
    /**
199
     * @param int $index_stored
200
     */
201
    public function setIndexStored(int $index_stored): void
202
    {
203
        $this->index_stored = $index_stored;
204
    }
205
206
    /**
207
     * @return int
208
     */
209
    public function getIndexIndexed(): int
210
    {
211
        return $this->index_indexed;
212
    }
213
214
    /**
215
     * @param int $index_indexed
216
     */
217
    public function setIndexIndexed(int $index_indexed): void
218
    {
219
        $this->index_indexed = $index_indexed;
220
    }
221
222
    /**
223
     * @return float
224
     */
225
    public function getIndexBoost(): float
226
    {
227
        return $this->index_boost;
228
    }
229
230
    /**
231
     * @param float $index_boost
232
     */
233
    public function setIndexBoost(float $index_boost): void
234
    {
235
        $this->index_boost = $index_boost;
236
    }
237
238
    /**
239
     * @return int
240
     */
241
    public function getIsSortable(): int
242
    {
243
        return $this->is_sortable;
244
    }
245
246
    /**
247
     * @param int $is_sortable
248
     */
249
    public function setIsSortable(int $is_sortable): void
250
    {
251
        $this->is_sortable = $is_sortable;
252
    }
253
254
    /**
255
     * @return int
256
     */
257
    public function getIsFacet(): int
258
    {
259
        return $this->is_facet;
260
    }
261
262
    /**
263
     * @param int $is_facet
264
     */
265
    public function setIsFacet(int $is_facet): void
266
    {
267
        $this->is_facet = $is_facet;
268
    }
269
270
    /**
271
     * @return int
272
     */
273
    public function getIsListed(): int
274
    {
275
        return $this->is_listed;
276
    }
277
278
    /**
279
     * @param int $is_listed
280
     */
281
    public function setIsListed(int $is_listed): void
282
    {
283
        $this->is_listed = $is_listed;
284
    }
285
286
    /**
287
     * @return int
288
     */
289
    public function getIndexAutocomplete(): int
290
    {
291
        return $this->index_autocomplete;
292
    }
293
294
    /**
295
     * @param int $index_autocomplete
296
     */
297
    public function setIndexAutocomplete(int $index_autocomplete): void
298
    {
299
        $this->index_autocomplete = $index_autocomplete;
300
    }
301
302
    /**
303
     * @return int
304
     */
305
    public function getStatus(): int
306
    {
307
        return $this->status;
308
    }
309
310
    /**
311
     * @param int $status
312
     */
313
    public function setStatus(int $status): void
314
    {
315
        $this->status = $status;
316
    }
317
318
319
}