| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | abstract class AbstractInlineMarkup extends AbstractPass |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Parse given inline markup in text |
||
| 14 | * |
||
| 15 | * The markup must start and end with exactly 2 characters |
||
| 16 | * |
||
| 17 | * @param string $str First markup string |
||
| 18 | * @param string $regexp Regexp used to match the markup's span |
||
| 19 | * @param string $tagName Name of the tag produced by this markup |
||
| 20 | * @return void |
||
| 21 | */ |
||
| 22 | 16 | protected function parseInlineMarkup(string $str, string $regexp, string $tagName): void |
|
| 41 | } |