mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Constant arrays to static vars for PHP 5.5
This commit is contained in:
@@ -24,7 +24,7 @@ class CommonMarkTestWeak extends CommonMarkTestStrict
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$textLevelElements = \array_keys(Element::TEXT_LEVEL_ELEMENTS);
|
||||
$textLevelElements = \array_keys(Element::$TEXT_LEVEL_ELEMENTS);
|
||||
|
||||
\array_walk($textLevelElements, function (&$element) {
|
||||
$element = \preg_quote($element, '/');
|
||||
|
||||
Reference in New Issue
Block a user