Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function __construct(LoggerInterface $logger, Yabot $yabot) |
||
17 | { |
||
18 | $this->setLog($logger); |
||
19 | $this->yabot = $yabot; |
||
20 | |||
21 | $this->setConfig([ |
||
22 | 'help' => "<prefix> start\n<prefix> stop\n", |
||
23 | 'prefix' => 'messagelog', |
||
24 | 'messageLogFile' => 'message.log', |
||
25 | 'matchers' => [ |
||
26 | 'start' => "/^start\\b/", |
||
27 | 'stop' => "/^stop\\b/", |
||
28 | ], |
||
29 | ]); |
||
30 | } |
||
31 | |||
52 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.