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

ClassWithMethodVisibilitiesBeingChanged   A

Complexity

Total Complexity 9

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 9
dl 0
loc 28
c 0
b 0
f 0
rs 10

9 Methods

Rating   Name   Duplication   Size   Complexity  
A privateMaintainedPrivate() 0 2 1
A publicMaintainedPublic() 0 2 1
A privateIncreasedToPublic() 0 2 1
A protectedMaintainedProtected() 0 2 1
A protectedReducedToPrivate() 0 2 1
A protectedIncreasedToPublic() 0 2 1
A publicReducedToPrivate() 0 2 1
A publicReducedToProtected() 0 2 1
A privateIncreasedToProtected() 0 2 1
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