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

SimplePrivateEntity::setPrivate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 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