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
09:06 queued 05:43
created

Structure   A

Complexity

Total Complexity 12

Size/Duplication

Total Lines 126
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 12
eloc 19
c 2
b 0
f 0
dl 0
loc 126
rs 10

12 Methods

Rating   Name   Duplication   Size   Complexity  
A getThumbnail() 0 3 1
A setToplevel() 0 3 1
A setThumbnail() 0 3 1
A setOaiName() 0 3 1
A setIndexName() 0 3 1
A getLabel() 0 3 1
A setStatus() 0 3 1
A getOaiName() 0 3 1
A getToplevel() 0 3 1
A setLabel() 0 3 1
A getStatus() 0 3 1
A getIndexName() 0 3 1
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 Structure extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $toplevel;
21
22
    /**
23
     * @var string
24
     */
25
    protected $label;
26
27
    /**
28
     * @var string
29
     */
30
    protected $indexName;
31
32
    /**
33
     * @var string
34
     */
35
    protected $oaiName;
36
37
    /**
38
     * @var int
39
     */
40
    protected $thumbnail;
41
42
    /**
43
     * @var int
44
     */
45
    protected $status;
46
47
    /**
48
     * @return int
49
     */
50
    public function getToplevel(): int
51
    {
52
        return $this->toplevel;
53
    }
54
55
    /**
56
     * @param int $toplevel
57
     */
58
    public function setToplevel(int $toplevel): void
59
    {
60
        $this->toplevel = $toplevel;
61
    }
62
63
    /**
64
     * @return string
65
     */
66
    public function getLabel(): string
67
    {
68
        return $this->label;
69
    }
70
71
    /**
72
     * @param string $label
73
     */
74
    public function setLabel(string $label): void
75
    {
76
        $this->label = $label;
77
    }
78
79
    /**
80
     * @return string
81
     */
82
    public function getIndexName(): string
83
    {
84
        return $this->indexName;
85
    }
86
87
    /**
88
     * @param string $indexName
89
     */
90
    public function setIndexName(string $indexName): void
91
    {
92
        $this->indexName = $indexName;
93
    }
94
95
    /**
96
     * @return string
97
     */
98
    public function getOaiName(): string
99
    {
100
        return $this->oaiName;
101
    }
102
103
    /**
104
     * @param string $oaiName
105
     */
106
    public function setOaiName(string $oaiName): void
107
    {
108
        $this->oaiName = $oaiName;
109
    }
110
111
    /**
112
     * @return int
113
     */
114
    public function getThumbnail(): int
115
    {
116
        return $this->thumbnail;
117
    }
118
119
    /**
120
     * @param int $thumbnail
121
     */
122
    public function setThumbnail(int $thumbnail): void
123
    {
124
        $this->thumbnail = $thumbnail;
125
    }
126
127
    /**
128
     * @return int
129
     */
130
    public function getStatus(): int
131
    {
132
        return $this->status;
133
    }
134
135
    /**
136
     * @param int $status
137
     */
138
    public function setStatus(int $status): void
139
    {
140
        $this->status = $status;
141
    }
142
143
}