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

Format   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 84
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 8
eloc 13
c 1
b 0
f 0
dl 0
loc 84
rs 10

8 Methods

Rating   Name   Duplication   Size   Complexity  
A setNamespace() 0 3 1
A setClass() 0 3 1
A getRoot() 0 3 1
A setType() 0 3 1
A getType() 0 3 1
A getNamespace() 0 3 1
A setRoot() 0 3 1
A getClass() 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 Format extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $type;
21
22
    /**
23
     * @var string
24
     */
25
    protected $root;
26
27
    /**
28
     * @var string
29
     */
30
    protected $namespace;
31
32
    /**
33
     * @var string
34
     */
35
    protected $class;
36
37
    /**
38
     * @return string
39
     */
40
    public function getType(): string
41
    {
42
        return $this->type;
43
    }
44
45
    /**
46
     * @param string $type
47
     */
48
    public function setType(string $type): void
49
    {
50
        $this->type = $type;
51
    }
52
53
    /**
54
     * @return string
55
     */
56
    public function getRoot(): string
57
    {
58
        return $this->root;
59
    }
60
61
    /**
62
     * @param string $root
63
     */
64
    public function setRoot(string $root): void
65
    {
66
        $this->root = $root;
67
    }
68
69
    /**
70
     * @return string
71
     */
72
    public function getNamespace(): string
73
    {
74
        return $this->namespace;
75
    }
76
77
    /**
78
     * @param string $namespace
79
     */
80
    public function setNamespace(string $namespace): void
81
    {
82
        $this->namespace = $namespace;
83
    }
84
85
    /**
86
     * @return string
87
     */
88
    public function getClass(): string
89
    {
90
        return $this->class;
91
    }
92
93
    /**
94
     * @param string $class
95
     */
96
    public function setClass(string $class): void
97
    {
98
        $this->class = $class;
99
    }
100
101
}
102