| Conditions | 4 | 
| Paths | 4 | 
| Total Lines | 19 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 10 | 
| CRAP Score | 4 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 25 | 2235 | public function parse(ContextInterface $context, Cursor $cursor): bool  | 
            |
| 26 |     { | 
            ||
| 27 | 2235 |         if (!$cursor->isIndented()) { | 
            |
| 28 | 2169 | return false;  | 
            |
| 29 | }  | 
            ||
| 30 | |||
| 31 | 183 |         if ($context->getTip() instanceof Paragraph) { | 
            |
| 32 | 33 | return false;  | 
            |
| 33 | }  | 
            ||
| 34 | |||
| 35 | 150 |         if ($cursor->isBlank()) { | 
            |
| 36 | 3 | return false;  | 
            |
| 37 | }  | 
            ||
| 38 | |||
| 39 | 150 | $cursor->advanceBy(Cursor::INDENT_LEVEL, true);  | 
            |
| 40 | 150 | $context->addBlock(new IndentedCode());  | 
            |
| 41 | |||
| 42 | 150 | return true;  | 
            |
| 43 | }  | 
            ||
| 44 | }  | 
            ||
| 45 |