jenkins-bot has submitted this change and it was merged.

Change subject: Update lessphp to 011afcca8e
......................................................................


Update lessphp to 011afcca8e

Source:

* 
https://github.com/leafo/lessphp/blob/011afcca8e6f1000a6e789921ba805fa578271a3/lessc.inc.php

Changes:

* https://github.com/leafo/lessphp/compare/2cc77e3c7b...011afcca8e

Change-Id: Ic21b97e52ec99b8eef094a902ee346cf40a9f174
---
M includes/libs/lessc.inc.php
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/libs/lessc.inc.php b/includes/libs/lessc.inc.php
index 61ed771..2caa0b6 100644
--- a/includes/libs/lessc.inc.php
+++ b/includes/libs/lessc.inc.php
@@ -1,7 +1,7 @@
 <?php
 // @codingStandardsIgnoreFile File external to MediaWiki. Ignore coding 
conventions checks.
 /**
- * lessphp v0.4.0@2cc77e3c7b
+ * lessphp v0.4.0@011afcca8e
  * http://leafo.net/lessphp
  *
  * LESS CSS compiler, adapted from http://lesscss.org
@@ -374,9 +374,9 @@
                $other = array_merge($other, $stack);
 
                if ($split) {
-                       return array(array_merge($vars, $imports), $other);
+                       return array(array_merge($imports, $vars), $other);
                } else {
-                       return array_merge($vars, $imports, $other);
+                       return array_merge($imports, $vars, $other);
                }
        }
 
@@ -1036,7 +1036,7 @@
                                        }
                                }
 
-                               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)));
                        }
                }

-- 
To view, visit https://gerrit.wikimedia.org/r/174448
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic21b97e52ec99b8eef094a902ee346cf40a9f174
Gerrit-PatchSet: 14
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: Krinkle <krinklem...@gmail.com>
Gerrit-Reviewer: Ori.livneh <o...@wikimedia.org>
Gerrit-Reviewer: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: Reedy <re...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to