Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | public function compile($statement, Context $context) |
||
22 | { |
||
23 | if (count($statement->stmts) > 0) { |
||
24 | foreach ($statement->stmts as $stmt) { |
||
25 | \PHPSA\nodeVisitorFactory($stmt, $context); |
||
26 | } |
||
27 | } else { |
||
28 | $context->notice('not-implemented-body', 'Missing body', $statement); |
||
29 | } |
||
30 | } |
||
31 | } |
||
32 |