| Total Complexity | 5 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class ConstantVisibilityReduced implements ConstantBased |
||
| 12 | { |
||
| 13 | private const VISIBILITY_PRIVATE = 'private'; |
||
| 14 | |||
| 15 | private const VISIBILITY_PROTECTED = 'protected'; |
||
| 16 | |||
| 17 | private const VISIBILITY_PUBLIC = 'public'; |
||
| 18 | |||
| 19 | public function compare(ReflectionClassConstant $fromConstant, ReflectionClassConstant $toConstant) : Changes |
||
| 37 | )]); |
||
| 38 | } |
||
| 39 | |||
| 40 | private function propertyVisibility(ReflectionClassConstant $property) : string |
||
| 53 |