Conditions | 3 |
Paths | 2 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | <?php |
||
35 | public function matchesNextLine(Cursor $cursor): bool |
||
36 | { |
||
37 | if (!$cursor->isIndented() && $cursor->getNextNonSpaceCharacter() === '>') { |
||
38 | $cursor->advanceToNextNonSpaceOrTab(); |
||
39 | $cursor->advanceBy(1); |
||
40 | $cursor->advanceBySpaceOrTab(); |
||
41 | |||
42 | return true; |
||
43 | } |
||
44 | |||
45 | return false; |
||
46 | } |
||
47 | |||
53 |