Failed Conditions
Push — future/ConfuenceWrapper ( 28d061...f8e71e )
by
unknown
22:28
created

File   A

Complexity

Total Complexity 10

Size/Duplication

Total Lines 115
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 10
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 115
rs 10

10 Methods

Rating   Name   Duplication   Size   Complexity  
A setPath() 0 4 1
A setPackage() 0 4 1
A setType() 0 4 1
A setFinal() 0 4 1
A setAbstract() 0 4 1
A setNamespace() 0 4 1
A setExtends() 0 4 1
A setImplements() 0 4 1
A setNamespaceAlias() 0 4 1
A setConstant() 0 4 1
1
<?php
2
/**
3
 * Created by IntelliJ IDEA.
4
 * User: yoshi
5
 * Date: 27.01.16
6
 * Time: 19:52
7
 */
8
9
namespace CodeMine\ConfluenceImporter\Parser\File;
10
11
/**
12
 * Class File
13
 * @package CodeMine\ConfluenceImporter\Parser\File
14
 */
15
class File
16
{
17
    /* class, interface, trait */
0 ignored issues
show
Unused Code Comprehensibility introduced by
63% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
18
    private $type;
19
20
    /*
21
     * @attributes
22
     */
23
    private $path;
24
    private $package;
25
26
    /* Class */
27
    /**
28
     * @var bool
29
     */
30
    private $final;
31
    /**
32
     * @var bool
33
     */
34
    private $abstract;
35
    private $namespace;
36
    private $namespaceAlias;
37
    private $extends;
38
    private $implements;
39
40
    private $constant;
41
42
43
44
    /**
45
     * @param mixed $path
46
     */
47
    public function setPath($path)
48
    {
49
        $this->path = $path;
50
    }
51
52
    /**
53
     * @param mixed $package
54
     */
55
    public function setPackage($package)
56
    {
57
        $this->package = $package;
58
    }
59
60
    /**
61
     * @param mixed $type
62
     */
63
    public function setType($type)
64
    {
65
        $this->type = $type;
66
    }
67
68
    /**
69
     * @param boolean $final
70
     */
71
    public function setFinal($final)
72
    {
73
        $this->final = $final;
74
    }
75
76
    /**
77
     * @param boolean $abstract
78
     */
79
    public function setAbstract($abstract)
80
    {
81
        $this->abstract = $abstract;
82
    }
83
84
    /**
85
     * @param mixed $namespace
86
     */
87
    public function setNamespace($namespace)
88
    {
89
        $this->namespace = $namespace;
90
    }
91
92
    /**
93
     * @param mixed $extends
94
     */
95
    public function setExtends($extends)
96
    {
97
        $this->extends = $extends;
98
    }
99
100
    /**
101
     * @param mixed $implements
102
     */
103
    public function setImplements($implements)
104
    {
105
        $this->implements = $implements;
106
    }
107
108
    /**
109
     * @param mixed $namespaceAlias
110
     */
111
    public function setNamespaceAlias($namespaceAlias)
112
    {
113
        $this->namespaceAlias = $namespaceAlias;
114
    }
115
116
    /**
117
     * @param mixed $constant
118
     */
119
    public function setConstant($constant)
120
    {
121
        $this->constant = $constant;
122
    }
123
124
125
126
127
128
129
}