| Total Complexity | 6 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 20 | class D extends C |
||
| 21 | { |
||
| 22 | public function __construct() |
||
| 23 | { |
||
| 24 | parent::__construct(); |
||
| 25 | unset( |
||
| 26 | $this->property9 |
||
| 27 | ); |
||
| 28 | } |
||
| 29 | |||
| 30 | public static function getCustomGetterPrefix(): string |
||
| 31 | { |
||
| 32 | return 'get_'; |
||
| 33 | } |
||
| 34 | |||
| 35 | public static function getCustomSetterPrefix(): string |
||
| 36 | { |
||
| 37 | return 'set_'; |
||
| 38 | } |
||
| 39 | |||
| 40 | |||
| 41 | private $attribute8 = -8; |
||
| 42 | |||
| 43 | // phpcs:disable PSR1.Methods.CamelCapsMethodName.NotCamelCaps |
||
| 44 | public function get_attribute8() |
||
| 45 | { |
||
| 46 | return $this->attribute8; |
||
| 47 | } |
||
| 48 | |||
| 49 | private $attribute9 = -9; |
||
| 50 | public $property9; |
||
| 51 | |||
| 52 | protected function get_property9() |
||
| 55 | } |
||
| 56 | |||
| 57 | protected function set_property9($value) |
||
| 60 | } |
||
| 61 | } |
||
| 62 |