Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 50% |
Changes | 0 |
1 | <?php |
||
5 | abstract class TimerService |
||
6 | { |
||
7 | public $allowsEmptyProject = true; |
||
8 | |||
9 | public $allowsEmptyTag = true; |
||
10 | |||
11 | abstract public function startTimer(); |
||
12 | |||
13 | abstract public function runningTimer(); |
||
14 | |||
15 | abstract public function stopCurrentTimer(); |
||
16 | |||
17 | abstract public function continueTimer($timerId); |
||
18 | |||
19 | public function deleteTimer($timerId) |
||
|
|||
20 | { |
||
21 | return false; |
||
22 | } |
||
23 | |||
24 | abstract public function projects(); |
||
25 | |||
26 | abstract public function tags(); |
||
27 | |||
28 | abstract public function pastTimers(); |
||
29 | |||
30 | 56 | public function __toString() |
|
33 | } |
||
34 | } |
||
35 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.