| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php # -*- coding: utf-8 -*- |
||
| 6 | class UnorderedList extends AbstractRegexRule |
||
| 7 | { |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Get the regex rule to identify the content for the callback. |
||
| 11 | * ul List via star * or -. |
||
| 12 | * |
||
| 13 | * @return string |
||
| 14 | */ |
||
| 15 | 9 | public function rule(): string |
|
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritdoc} |
||
| 22 | */ |
||
| 23 | 6 | protected function render(array $content): string |
|
| 28 |