diff --git a/app/lib/phast/Compilers/StyleSheet/Internal/LessStyleSheetCompiler.inc.php b/app/lib/phast/Compilers/StyleSheet/Internal/LessStyleSheetCompiler.inc.php index 52c112d..4a8a901 100644 --- a/app/lib/phast/Compilers/StyleSheet/Internal/LessStyleSheetCompiler.inc.php +++ b/app/lib/phast/Compilers/StyleSheet/Internal/LessStyleSheetCompiler.inc.php @@ -2268,7 +2268,7 @@ if (!self::$operatorString) { self::$operatorString = - '('.implode('|', array_map(array('lessc', 'preg_quote'), + '('.implode('|', array_map(array('Phast\\Compilers\\StyleSheet\\Internal\\LessStyleSheetCompiler', 'preg_quote'), array_keys(self::$precedence))).')'; $commentSingle = LessStyleSheetCompiler::preg_quote(self::$commentSingle); @@ -2501,7 +2501,7 @@ protected function isDirective($dirname, $directives) { // TODO: cache pattern in parser $pattern = implode("|", - array_map(array("lessc", "preg_quote"), $directives)); + array_map(array("Phast\\Compilers\\StyleSheet\\Internal\\LessStyleSheetCompiler", "preg_quote"), $directives)); $pattern = '/^(-[a-z-]+-)?(' . $pattern . ')$/i'; return preg_match($pattern, $dirname); @@ -2788,7 +2788,7 @@ $this->eatWhiteDefault = false; $stop = array("'", '"', "@{", $end); - $stop = array_map(array("lessc", "preg_quote"), $stop); + $stop = array_map(array("Phast\\Compilers\\StyleSheet\\Internal\\LessStyleSheetCompiler", "preg_quote"), $stop); // $stop[] = self::$commentMulti; if (!is_null($rejectStrs)) {