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

MetadataFormat::setXpath()   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 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 MetadataFormat extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $parentId;
21
22
    /**
23
     * @var int
24
     */
25
    protected $encoded;
26
27
    /**
28
     * @var string
29
     */
30
    protected $xpath;
31
32
    /**
33
     * @var string
34
     */
35
    protected $xpathSorting;
36
37
    /**
38
     * @var int
39
     */
40
    protected $mandatory;
41
42
    /**
43
     * @return int
44
     */
45
    public function getParentId(): int
46
    {
47
        return $this->parentId;
48
    }
49
50
    /**
51
     * @param int $parentId
52
     */
53
    public function setParentId(int $parentId): void
54
    {
55
        $this->parentId = $parentId;
56
    }
57
58
    /**
59
     * @return int
60
     */
61
    public function getEncoded(): int
62
    {
63
        return $this->encoded;
64
    }
65
66
    /**
67
     * @param int $encoded
68
     */
69
    public function setEncoded(int $encoded): void
70
    {
71
        $this->encoded = $encoded;
72
    }
73
74
    /**
75
     * @return string
76
     */
77
    public function getXpath(): string
78
    {
79
        return $this->xpath;
80
    }
81
82
    /**
83
     * @param string $xpath
84
     */
85
    public function setXpath(string $xpath): void
86
    {
87
        $this->xpath = $xpath;
88
    }
89
90
    /**
91
     * @return string
92
     */
93
    public function getXpathSorting(): string
94
    {
95
        return $this->xpathSorting;
96
    }
97
98
    /**
99
     * @param string $xpathSorting
100
     */
101
    public function setXpathSorting(string $xpathSorting): void
102
    {
103
        $this->xpathSorting = $xpathSorting;
104
    }
105
106
    /**
107
     * @return int
108
     */
109
    public function getMandatory(): int
110
    {
111
        return $this->mandatory;
112
    }
113
114
    /**
115
     * @param int $mandatory
116
     */
117
    public function setMandatory(int $mandatory): void
118
    {
119
        $this->mandatory = $mandatory;
120
    }
121
122
}
123