jenkins-bot has submitted this change and it was merged. Change subject: Bump oyejorge/less.php to 1.7.0.9 ......................................................................
Bump oyejorge/less.php to 1.7.0.9 Fixes leading whitespace problem in oyejorge/less.php/lib/Less/Version.php Change-Id: Ic3d62dc5d55fc847d7e861dea3f72b92efb38e27 --- M composer.json M composer.lock M composer/installed.json A oyejorge/less.php/CHANGES.md M oyejorge/less.php/lib/Less/Functions.php M oyejorge/less.php/lib/Less/Version.php 6 files changed, 69 insertions(+), 63 deletions(-) Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified diff --git a/composer.json b/composer.json index 0fa9cd9..6c0a4bd 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "monolog/monolog": "1.14.0", "nmred/kafka-php": "0.1.4", "oojs/oojs-ui": "0.12.10", - "oyejorge/less.php": "1.7.0.8", + "oyejorge/less.php": "1.7.0.9", "php": ">=5.3.3", "psr/log": "1.0.0", "ruflin/elastica": "2.2.0", diff --git a/composer.lock b/composer.lock index 974ae8a..8dd9963 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "e92cf1f2c4aeab6885690bc5eb6dac19", - "content-hash": "33c48b7c2f1d02a934ab3b1069b111a8", + "hash": "96d4aedd683905380ed0c99d2ec321f4", + "content-hash": "788a8989a97620704c1e04ca61f2582e", "packages": [ { "name": "composer/semver", @@ -429,16 +429,16 @@ }, { "name": "oyejorge/less.php", - "version": "v1.7.0.8", + "version": "v1.7.0.9", "source": { "type": "git", "url": "https://github.com/oyejorge/less.php.git", - "reference": "ed2c8948ec548deaeece1731bbfdcdfc0e80d08e" + "reference": "fb64e2f6ef647a229c50e9fa0f2076240a3484c6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/oyejorge/less.php/zipball/ed2c8948ec548deaeece1731bbfdcdfc0e80d08e", - "reference": "ed2c8948ec548deaeece1731bbfdcdfc0e80d08e", + "url": "https://api.github.com/repos/oyejorge/less.php/zipball/fb64e2f6ef647a229c50e9fa0f2076240a3484c6", + "reference": "fb64e2f6ef647a229c50e9fa0f2076240a3484c6", "shasum": "" }, "require": { @@ -484,7 +484,7 @@ "php", "stylesheet" ], - "time": "2015-09-24 18:00:51" + "time": "2015-09-28 01:11:47" }, { "name": "psr/log", diff --git a/composer/installed.json b/composer/installed.json index e950aee..5f67fa3 100644 --- a/composer/installed.json +++ b/composer/installed.json @@ -997,24 +997,63 @@ "homepage": "https://www.mediawiki.org/wiki/CLDRPluralRuleParser" }, { - "name": "oyejorge/less.php", - "version": "v1.7.0.8", - "version_normalized": "1.7.0.8", + "name": "oojs/oojs-ui", + "version": "v0.12.10", + "version_normalized": "0.12.10.0", "source": { "type": "git", - "url": "https://github.com/oyejorge/less.php.git", - "reference": "ed2c8948ec548deaeece1731bbfdcdfc0e80d08e" + "url": "https://github.com/wikimedia/oojs-ui.git", + "reference": "c9d3a041325c735d709855920a06bed400ca6b3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/oyejorge/less.php/zipball/ed2c8948ec548deaeece1731bbfdcdfc0e80d08e", - "reference": "ed2c8948ec548deaeece1731bbfdcdfc0e80d08e", + "url": "https://api.github.com/repos/wikimedia/oojs-ui/zipball/c9d3a041325c735d709855920a06bed400ca6b3b", + "reference": "c9d3a041325c735d709855920a06bed400ca6b3b", + "shasum": "" + }, + "require": { + "mediawiki/at-ease": "1.1.0", + "php": ">=5.3.3" + }, + "require-dev": { + "jakub-onderka/php-parallel-lint": "0.9", + "mediawiki/mediawiki-codesniffer": "0.4.0", + "phpunit/phpunit": "~4.5" + }, + "time": "2015-09-29 20:28:43", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "php/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Provides library of common widgets, layouts, and windows.", + "homepage": "https://www.mediawiki.org/wiki/OOjs_UI" + }, + { + "name": "oyejorge/less.php", + "version": "v1.7.0.9", + "version_normalized": "1.7.0.9", + "source": { + "type": "git", + "url": "https://github.com/oyejorge/less.php.git", + "reference": "fb64e2f6ef647a229c50e9fa0f2076240a3484c6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/oyejorge/less.php/zipball/fb64e2f6ef647a229c50e9fa0f2076240a3484c6", + "reference": "fb64e2f6ef647a229c50e9fa0f2076240a3484c6", "shasum": "" }, "require": { "php": ">=5.3" }, - "time": "2015-09-24 18:00:51", + "time": "2015-09-28 01:11:47", "bin": [ "bin/lessc" ], @@ -1056,44 +1095,5 @@ "php", "stylesheet" ] - }, - { - "name": "oojs/oojs-ui", - "version": "v0.12.10", - "version_normalized": "0.12.10.0", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/oojs-ui.git", - "reference": "c9d3a041325c735d709855920a06bed400ca6b3b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/oojs-ui/zipball/c9d3a041325c735d709855920a06bed400ca6b3b", - "reference": "c9d3a041325c735d709855920a06bed400ca6b3b", - "shasum": "" - }, - "require": { - "mediawiki/at-ease": "1.1.0", - "php": ">=5.3.3" - }, - "require-dev": { - "jakub-onderka/php-parallel-lint": "0.9", - "mediawiki/mediawiki-codesniffer": "0.4.0", - "phpunit/phpunit": "~4.5" - }, - "time": "2015-09-29 20:28:43", - "type": "library", - "installation-source": "dist", - "autoload": { - "classmap": [ - "php/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Provides library of common widgets, layouts, and windows.", - "homepage": "https://www.mediawiki.org/wiki/OOjs_UI" } ] diff --git a/oyejorge/less.php/CHANGES.md b/oyejorge/less.php/CHANGES.md new file mode 100644 index 0000000..906a9af --- /dev/null +++ b/oyejorge/less.php/CHANGES.md @@ -0,0 +1,6 @@ +This is where the changelog will go for 1.7.0.9 or higher now. + +# 1.7.0.9 + + - Remove space at beginning of Version.php + - Revert require() paths in test interface \ No newline at end of file diff --git a/oyejorge/less.php/lib/Less/Functions.php b/oyejorge/less.php/lib/Less/Functions.php index ead64ce..419bee3 100644 --- a/oyejorge/less.php/lib/Less/Functions.php +++ b/oyejorge/less.php/lib/Less/Functions.php @@ -20,7 +20,7 @@ /** * @param string $op */ - public static function operate( $op, $a, $b ){ + public static function operate( $op, $a, $b ){ switch ($op) { case '+': return $a + $b; case '-': return $a - $b; @@ -46,7 +46,7 @@ return $value; } - public static function number($n){ + public static function number($n){ if ($n instanceof Less_Tree_Dimension) { return floatval( $n->unit->is('%') ? $n->value / 100 : $n->value); @@ -57,7 +57,7 @@ } } - public static function scaled($n, $size = 255 ){ + public static function scaled($n, $size = 255 ){ if( $n instanceof Less_Tree_Dimension && $n->unit->is('%') ){ return (float)$n->value * $size / 100; } else { @@ -549,7 +549,7 @@ return new Less_Tree_Quoted( $string->quote , $result, $string->escaped); } - public function unit( $val, $unit = null) { + public function unit( $val, $unit = null) { if( !($val instanceof Less_Tree_Dimension) ){ throw new Less_Exception_Compiler('The first argument to unit must be a number' . ($val instanceof Less_Tree_Operation ? '. Have you forgotten parenthesis?' : '.') ); } @@ -564,7 +564,7 @@ $unit = ""; } return new Less_Tree_Dimension($val->value, $unit ); - } + } public function convert($val, $unit){ return $val->convertTo($unit->value); diff --git a/oyejorge/less.php/lib/Less/Version.php b/oyejorge/less.php/lib/Less/Version.php index 964c683..704ec6e 100644 --- a/oyejorge/less.php/lib/Less/Version.php +++ b/oyejorge/less.php/lib/Less/Version.php @@ -1,4 +1,4 @@ - <?php +<?php /** * Release numbers @@ -8,8 +8,8 @@ */ class Less_Version{ - const version = '1.7.0.8'; // The current build number of less.php + const version = '1.7.0.9'; // The current build number of less.php const less_version = '1.7'; // The less.js version that this build should be compatible with const cache_version = '170'; // The parser cache version -} \ No newline at end of file +} -- To view, visit https://gerrit.wikimedia.org/r/242378 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic3d62dc5d55fc847d7e861dea3f72b92efb38e27 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/vendor Gerrit-Branch: master Gerrit-Owner: BryanDavis <bda...@wikimedia.org> Gerrit-Reviewer: BryanDavis <bda...@wikimedia.org> Gerrit-Reviewer: Krinkle <krinklem...@gmail.com> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: Ori.livneh <o...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits