| 1 | <?php |
||
| 25 | class C extends B implements ICustomPrefixedPropertiesContainer |
||
| 26 | { |
||
| 27 | public function __construct() |
||
| 36 | |||
| 37 | public static function getCustomGetterPrefix() |
||
| 41 | |||
| 42 | public static function getCustomSetterPrefix() |
||
| 46 | |||
| 47 | |||
| 48 | private $attribute5 = -5; |
||
| 49 | |||
| 50 | public function getValueOfAttribute5() |
||
| 54 | |||
| 55 | private $attribute6 = -6; |
||
| 56 | public $property6; |
||
| 57 | |||
| 58 | protected function getValueOfProperty6() |
||
| 62 | |||
| 63 | protected function setValueOfProperty6($value) |
||
| 67 | |||
| 68 | private $attribute7 = -7; |
||
|
|
|||
| 69 | public $property7; |
||
| 70 | |||
| 71 | /** |
||
| 72 | * Wrong prefix getter; will never be called |
||
| 73 | */ |
||
| 74 | protected function getProperty7() |
||
| 78 | } |
||
| 79 |
This check marks private properties in classes that are never used. Those properties can be removed.