Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | protected function setUp() |
||
27 | { |
||
28 | $loggerMock = $this->prophesize(LoggerInterface::class); |
||
29 | $that = $this; |
||
30 | $loggerMock->process('message')->will(function ($args) use ($that) { |
||
|
|||
31 | $that->message = 'someMessage'; |
||
32 | }); |
||
33 | $this->loggerCallable = new LoggerCallable($loggerMock->reveal()); |
||
34 | } |
||
35 | |||
45 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.