| 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 | } |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.