Total Complexity | 6 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class EventSituationProvider |
||
6 | { |
||
7 | 116 | public function getListener() |
|
8 | { |
||
9 | 116 | return EventListeners::class; |
|
10 | } |
||
11 | |||
12 | 116 | public function getSituationProvider() |
|
15 | } |
||
16 | |||
17 | 116 | public function getForgetKey() |
|
20 | } |
||
21 | |||
22 | /** |
||
23 | * @return array |
||
24 | */ |
||
25 | 116 | public function getMethods(): array |
|
30 | ]; |
||
31 | } |
||
32 | |||
33 | 14 | public static function getForgetMethods() |
|
34 | { |
||
35 | 14 | return ['aboutEvent']; |
|
36 | } |
||
37 | |||
38 | 2 | public static function getForgetArgs($method, $args) |
|
41 | } |
||
42 | } |
||
43 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.