Completed
Push — master ( 38c765...4253e9 )
by Gianluca
02:58
created

SimplePrivateEntity   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 22
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A setPrivate() 0 4 1
A getPrivate() 0 4 1
A setProtected() 0 4 1
A getProtected() 0 4 1
1
<?php
2
3
namespace DoctrineModuleTest\Stdlib\Hydrator\Asset;
4
5
class SimplePrivateEntity
6
{
7
    private function setPrivate($value)
0 ignored issues
show
Unused Code introduced by
This method is not used, and could be removed.
Loading history...
Unused Code introduced by
The parameter $value is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
8
    {
9
        throw new \Exception('Should never be called');
10
    }
11
12
    private function getPrivate()
0 ignored issues
show
Unused Code introduced by
This method is not used, and could be removed.
Loading history...
13
    {
14
        throw new \Exception('Should never be called');
15
    }
16
17
    protected function setProtected($value)
0 ignored issues
show
Unused Code introduced by
The parameter $value is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
18
    {
19
        throw new \Exception('Should never be called');
20
    }
21
22
    protected function getProtected()
23
    {
24
        throw new \Exception('Should never be called');
25
    }
26
}
27