| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 40 | public function setBreakpoint(Twig_Environment $environment, $context) |
||
| 41 | { |
||
| 42 | if (function_exists('xdebug_break')) { |
||
| 43 | $arguments = array_slice(func_get_args(), 2); |
||
|
1 ignored issue
–
show
|
|||
| 44 | xdebug_break(); |
||
| 45 | } |
||
| 46 | } |
||
| 47 | } |
||
| 48 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.