| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | 1 | public function indexAction(Request $request) |
|
|
|
|||
| 15 | { |
||
| 16 | |||
| 17 | // replace this example code with whatever you need |
||
| 18 | 1 | return $this->render( |
|
| 19 | 1 | 'default/index.html.twig', |
|
| 20 | [ |
||
| 21 | 1 | 'base_dir' => realpath($this->getParameter('kernel.root_dir').'/..').DIRECTORY_SEPARATOR, |
|
| 22 | ] |
||
| 23 | ); |
||
| 24 | } |
||
| 25 | } |
||
| 26 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.