| 1 | <?php |
||
| 13 | trait RuleTrait |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * identify a line as a horizontal rule. |
||
| 17 | * The exact string of '----', with possible white spaces before and/or after it |
||
| 18 | */ |
||
| 19 | 23 | protected function identifyHr($line) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * Consume a horizontal rule |
||
| 26 | */ |
||
| 27 | 3 | protected function consumeHr($lines, $current) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * Renders a horizontal rule |
||
| 34 | */ |
||
| 35 | 3 | protected function renderHr($block) |
|
| 39 | |||
| 40 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.