| Conditions | 3 |
| Paths | 4 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function compile($stmt, Context $context) |
||
| 18 | { |
||
| 19 | $compiler = $context->getExpressionCompiler(); |
||
| 20 | |||
| 21 | foreach ($stmt->declares as $declare) { |
||
| 22 | $compiler->compile($declare->value); |
||
| 23 | } |
||
| 24 | |||
| 25 | foreach ($stmt->stmts as $stmt) { |
||
| 26 | \PHPSA\nodeVisitorFactory($stmt, $context); |
||
| 27 | } |
||
| 28 | } |
||
| 29 | } |
||
| 30 |