Conditions | 3 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | 2304 | public function tryStart(Cursor $cursor, MarkdownParserStateInterface $parserState): ?BlockStart |
|
36 | { |
||
37 | 2304 | if (! $cursor->isIndented() && RegexHelper::isLetter($cursor->getNextNonSpaceCharacter())) { |
|
38 | 1122 | $cursor->advanceToNextNonSpaceOrTab(); |
|
39 | |||
40 | 1122 | return BlockStart::abort(); |
|
41 | } |
||
42 | |||
43 | 1812 | return BlockStart::none(); |
|
44 | } |
||
46 |