Completed
Pull Request — master (#30)
by Marco
01:47
created

privateIncreasedToPublic()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 2
c 0
b 0
f 0
rs 10
cc 1
eloc 0
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
namespace RoaveTestAsset;
5
6
class ClassWithMethodVisibilitiesBeingChanged
7
{
8
    public function publicMaintainedPublic()
9
    {
10
    }
11
    protected function publicReducedToProtected()
12
    {
13
    }
14
    private function publicReducedToPrivate()
0 ignored issues
show
Unused Code introduced by
The method publicReducedToPrivate() is not used, and could be removed.

This check looks for private methods that have been defined, but are not used inside the class.

Loading history...
15
    {
16
    }
17
    protected function protectedMaintainedProtected()
18
    {
19
    }
20
    private function protectedReducedToPrivate()
0 ignored issues
show
Unused Code introduced by
The method protectedReducedToPrivate() is not used, and could be removed.

This check looks for private methods that have been defined, but are not used inside the class.

Loading history...
21
    {
22
    }
23
    public function protectedIncreasedToPublic()
24
    {
25
    }
26
    private function privateMaintainedPrivate()
0 ignored issues
show
Unused Code introduced by
The method privateMaintainedPrivate() is not used, and could be removed.

This check looks for private methods that have been defined, but are not used inside the class.

Loading history...
27
    {
28
    }
29
    protected function privateIncreasedToProtected()
30
    {
31
    }
32
    public function privateIncreasedToPublic()
33
    {
34
    }
35
}
36