Conditions | 5 |
Paths | 4 |
Total Lines | 14 |
Code Lines | 10 |
Lines | 14 |
Ratio | 100 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | /** |
||
23 | * @var State |
||
24 | */ |
||
25 | private $state = State::NOSTATE; |
||
26 | |||
27 | /** |
||
28 | * @param string $category |
||
29 | * @param string $subject |
||
30 | */ |
||
31 | public function __construct($category = 'Unknown category', $subject = 'Unknown subject') |
||
32 | { |
||
33 | $this->category = $category; |
||
34 | $this->subject = $subject; |
||
35 | } |
||
36 | |||
57 |
This check marks private properties in classes that are never used. Those properties can be removed.