Total Complexity | 6 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class RouteNameSituationProvider |
||
6 | { |
||
7 | 116 | public function getListener() |
|
8 | { |
||
9 | 116 | return RouteEventListener::class; |
|
10 | } |
||
11 | |||
12 | 116 | public function getSituationProvider() |
|
13 | { |
||
14 | 116 | return RouteNameNormalizer::class; |
|
15 | } |
||
16 | |||
17 | 116 | public function getForgetKey() |
|
18 | { |
||
19 | 116 | return 'routeChecks'; |
|
20 | } |
||
21 | |||
22 | 116 | public function getMethods(): array |
|
23 | { |
||
24 | return [ |
||
25 | 116 | 'whenYouHitRouteName', |
|
26 | ]; |
||
27 | } |
||
28 | |||
29 | 14 | public static function getForgetMethods() |
|
32 | } |
||
33 | |||
34 | 1 | public static function getForgetArgs($method, $args) |
|
|
|||
35 | { |
||
37 | } |
||
38 | } |
||
39 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.