| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function it_proxies_mapped_service_id() |
||
| 25 | { |
||
| 26 | $locator = $this->getMock('Devmachine\Bundle\ServicesInjectorBundle\ServiceLocator\ServiceLocator'); |
||
| 27 | $locator |
||
| 28 | ->expects($this->once()) |
||
| 29 | ->method('get') |
||
| 30 | ->with($this->equalTo('router')) |
||
| 31 | ; |
||
| 32 | |||
| 33 | (new Services(['url_generator' => 'router'], $locator))->get('url_generator'); |
||
| 34 | } |
||
| 63 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.