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
unknown
02:46
created

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