<?php
-
+// @codingStandardsIgnoreFile File external to MediaWiki. Ignore coding conventions checks.
/**
- * lessphp v0.4.0@b7cd5c79e8
+ * lessphp v0.4.0@2cc77e3c7b
* http://leafo.net/lessphp
*
* LESS CSS compiler, adapted from http://lesscss.org
* The input is expected to be reduced. This function will not work on
* things like expressions and variables.
*/
- protected function compileValue($value) {
+ public function compileValue($value) {
switch ($value[0]) {
case 'list':
// [1] - delimiter
}
}
- if(!is_null($mime)) // fallback if the mime type is still unknown
+ if(!is_null($mime)) // fallback if the MIME type is still unknown
$url = sprintf('data:%s;base64,%s', $mime, base64_encode(file_get_contents($fullpath)));
}
}