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