commit platformsh-cli for openSUSE:Factory
Hello community, here is the log from the commit of package platformsh-cli for openSUSE:Factory checked in at 2018-10-01 08:18:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/platformsh-cli (Old) and /work/SRC/openSUSE:Factory/.platformsh-cli.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "platformsh-cli" Mon Oct 1 08:18:02 2018 rev:55 rq:638848 version:3.35.1 Changes: -------- --- /work/SRC/openSUSE:Factory/platformsh-cli/platformsh-cli.changes 2018-09-11 17:20:26.887120634 +0200 +++ /work/SRC/openSUSE:Factory/.platformsh-cli.new/platformsh-cli.changes 2018-10-01 08:18:05.309942119 +0200 @@ -1,0 +2,32 @@ +Thu Sep 27 19:17:54 UTC 2018 - jimmy@boombatower.com + +- Update to version 3.35.1: + * Release v3.35.1 + * Fix "p" alias in shell-config-bash.rc + * Another release note tweak + * Tweak release notes minimum version + * Release v3.35.0 + * [variable:update]: Allow changing the value of a project-level sensitive variable + * Allow listing commits without specifying an environment + * Remove unnecessary $i + * Iterate through all parents in commit:list, and go back to author date + * Add explanations for "Operation not available" on environment actions (#750) + * Use "id" instead of "uuid" to refer to user IDs + * Add alias p=platform (#749) + * Add commit:list (commits) and commit:get commands for viewing commits + * Handle ~ revision spec in the --commit option + * Add --commit option to "repo" commands (#748) + * Additional help for mount:size + * Clean up --pipe output in user:get + * Rename UserRoleCommand -> UserGetCommand + * Box syntax simplification + * Add Bitbucket integration (#480) + * Show hidden service commands + * Tweak to prefix option display in variable:create + * List required extensions in composer.json (#746) + * Unused import + * Remove extra whitespace [skip changelog] + * Fix drush alias group name prepending bug + * Fix installer test script to use correct manifest + +------------------------------------------------------------------- Old: ---- platformsh-cli-3.34.3.tar.xz New: ---- platformsh-cli-3.35.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ platformsh-cli.spec ++++++ --- /var/tmp/diff_new_pack.3TuuyR/_old 2018-10-01 08:18:05.965941699 +0200 +++ /var/tmp/diff_new_pack.3TuuyR/_new 2018-10-01 08:18:05.969941697 +0200 @@ -17,7 +17,7 @@ Name: platformsh-cli -Version: 3.34.3 +Version: 3.35.1 Release: 0 Summary: Tool for managing Platform.sh services from the command line # See licenses.txt for dependency licenses. ++++++ _service ++++++ --- /var/tmp/diff_new_pack.3TuuyR/_old 2018-10-01 08:18:05.993941682 +0200 +++ /var/tmp/diff_new_pack.3TuuyR/_new 2018-10-01 08:18:05.993941682 +0200 @@ -2,7 +2,7 @@ <service name="tar_scm" mode="disabled"> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> - <param name="revision">refs/tags/v3.34.3</param> + <param name="revision">refs/tags/v3.35.1</param> <param name="url">git://github.com/platformsh/platformsh-cli.git</param> <param name="scm">git</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.3TuuyR/_old 2018-10-01 08:18:06.013941669 +0200 +++ /var/tmp/diff_new_pack.3TuuyR/_new 2018-10-01 08:18:06.013941669 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/platformsh/platformsh-cli.git</param> - <param name="changesrevision">1ecb2ee81aa44b1f0fc7ef938d7a5018910784c4</param> + <param name="changesrevision">8a5f81bee4e2ed3f5dc1898b9479be832dcad466</param> </service> </servicedata> ++++++ extensions.txt ++++++ --- /var/tmp/diff_new_pack.3TuuyR/_old 2018-10-01 08:18:06.037941654 +0200 +++ /var/tmp/diff_new_pack.3TuuyR/_new 2018-10-01 08:18:06.037941654 +0200 @@ -2,28 +2,28 @@ ( [requires] => Array ( - [0] => ext-openssl * + [0] => ext-json * [1] => ext-openssl * - [2] => ext-pcre * - [3] => php >=5.2.0 + [2] => ext-openssl * + [3] => ext-pcre * [4] => php >=5.2.0 - [5] => php >=5.3.0 + [5] => php >=5.2.0 [6] => php >=5.3.0 [7] => php >=5.3.0 - [8] => php >=5.3.2 - [9] => php >=5.3.3 + [8] => php >=5.3.0 + [9] => php >=5.3.2 [10] => php >=5.3.3 - [11] => php >=5.4.0 + [11] => php >=5.3.3 [12] => php >=5.4.0 [13] => php >=5.4.0 [14] => php >=5.4.0 [15] => php >=5.4.0 - [16] => php >=5.5.9 + [16] => php >=5.4.0 [17] => php >=5.5.9 [18] => php >=5.5.9 - [19] => php ^5.3 || ^7.0 || ^7.1 || ^7.2 - [20] => php ^5.3.2 || ^7.0 - [21] => php ^5.5.9|>=7.0.8 + [19] => php >=5.5.9 + [20] => php ^5.3 || ^7.0 || ^7.1 || ^7.2 + [21] => php ^5.3.2 || ^7.0 [22] => php ^5.5.9|>=7.0.8 [23] => php ^5.5.9|>=7.0.8 [24] => php ^5.5.9|>=7.0.8 @@ -32,7 +32,8 @@ [27] => php ^5.5.9|>=7.0.8 [28] => php ^5.5.9|>=7.0.8 [29] => php ^5.5.9|>=7.0.8 - [30] => php ~5.5|~7.0 + [30] => php ^5.5.9|>=7.0.8 + [31] => php ~5.5|~7.0 ) [suggests] => Array ++++++ licenses.txt ++++++ --- /var/tmp/diff_new_pack.3TuuyR/_old 2018-10-01 08:18:06.057941641 +0200 +++ /var/tmp/diff_new_pack.3TuuyR/_new 2018-10-01 08:18:06.057941641 +0200 @@ -18,7 +18,7 @@ padraic/phar-updater v1.0.5 BSD-3-Clause paragonie/random_compat v2.0.11 MIT platformsh/client v0.19.2 MIT -platformsh/console-form v0.0.20 MIT +platformsh/console-form v0.0.23 MIT psr/container 1.0.0 MIT psr/log 1.0.2 MIT react/promise v2.5.1 MIT ++++++ platformsh-cli-3.34.3.tar.xz -> platformsh-cli-3.35.1.tar.xz ++++++ ++++ 2238 lines of diff (skipped) ++++++ platformsh-cli-vendor.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/autoload.php new/vendor/autoload.php --- old/vendor/autoload.php 2018-09-11 03:01:09.736825981 +0200 +++ new/vendor/autoload.php 2018-09-27 21:17:57.292667326 +0200 @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit4673f61280c290aeddcb7f94fa31a1eb::getLoader(); +return ComposerAutoloaderInitfccd2789e3577aba72e110e86488d2d3::getLoader(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/composer/autoload_real.php new/vendor/composer/autoload_real.php --- old/vendor/composer/autoload_real.php 2018-09-11 03:01:09.736825981 +0200 +++ new/vendor/composer/autoload_real.php 2018-09-27 21:17:57.292667326 +0200 @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit4673f61280c290aeddcb7f94fa31a1eb +class ComposerAutoloaderInitfccd2789e3577aba72e110e86488d2d3 { private static $loader; @@ -19,15 +19,15 @@ return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit4673f61280c290aeddcb7f94fa31a1eb', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitfccd2789e3577aba72e110e86488d2d3', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInit4673f61280c290aeddcb7f94fa31a1eb', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitfccd2789e3577aba72e110e86488d2d3', 'loadClassLoader')); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); if ($useStaticLoader) { require_once __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit4673f61280c290aeddcb7f94fa31a1eb::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInitfccd2789e3577aba72e110e86488d2d3::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -48,19 +48,19 @@ $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInit4673f61280c290aeddcb7f94fa31a1eb::$files; + $includeFiles = Composer\Autoload\ComposerStaticInitfccd2789e3577aba72e110e86488d2d3::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire4673f61280c290aeddcb7f94fa31a1eb($fileIdentifier, $file); + composerRequirefccd2789e3577aba72e110e86488d2d3($fileIdentifier, $file); } return $loader; } } -function composerRequire4673f61280c290aeddcb7f94fa31a1eb($fileIdentifier, $file) +function composerRequirefccd2789e3577aba72e110e86488d2d3($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { require $file; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/composer/autoload_static.php new/vendor/composer/autoload_static.php --- old/vendor/composer/autoload_static.php 2018-09-11 03:01:09.736825981 +0200 +++ new/vendor/composer/autoload_static.php 2018-09-27 21:17:57.292667326 +0200 @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit4673f61280c290aeddcb7f94fa31a1eb +class ComposerStaticInitfccd2789e3577aba72e110e86488d2d3 { public static $files = array ( '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', @@ -195,9 +195,9 @@ public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit4673f61280c290aeddcb7f94fa31a1eb::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit4673f61280c290aeddcb7f94fa31a1eb::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit4673f61280c290aeddcb7f94fa31a1eb::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInitfccd2789e3577aba72e110e86488d2d3::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitfccd2789e3577aba72e110e86488d2d3::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInitfccd2789e3577aba72e110e86488d2d3::$classMap; }, null, ClassLoader::class); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/composer/installed.json new/vendor/composer/installed.json --- old/vendor/composer/installed.json 2018-09-11 03:01:08.296812396 +0200 +++ new/vendor/composer/installed.json 2018-09-27 21:17:56.828662931 +0200 @@ -781,27 +781,27 @@ }, { "name": "platformsh/console-form", - "version": "v0.0.20", - "version_normalized": "0.0.20.0", + "version": "v0.0.23", + "version_normalized": "0.0.23.0", "source": { "type": "git", "url": "https://github.com/platformsh/console-form.git", - "reference": "8fb1a45fb3acb05826a411dddd45c7b86def80f3" + "reference": "38f069fdb59885fdd1463831c1d557b1491b539f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/platformsh/console-form/zipball/8fb1a45fb3acb05...", - "reference": "8fb1a45fb3acb05826a411dddd45c7b86def80f3", + "url": "https://api.github.com/repos/platformsh/console-form/zipball/38f069fdb59885f...", + "reference": "38f069fdb59885fdd1463831c1d557b1491b539f", "shasum": "" }, "require": { "php": ">=5.5.9", - "symfony/console": "^3.0 || ^2.6" + "symfony/console": "^4.0 || ^3.0 || ^2.6" }, "require-dev": { "phpunit/phpunit": "^5.0" }, - "time": "2018-03-20T19:18:47+00:00", + "time": "2018-09-09T20:47:21+00:00", "type": "library", "installation-source": "dist", "autoload": { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/platformsh/console-form/composer.json new/vendor/platformsh/console-form/composer.json --- old/vendor/platformsh/console-form/composer.json 2018-03-20 20:18:47.000000000 +0100 +++ new/vendor/platformsh/console-form/composer.json 2018-09-09 22:47:21.000000000 +0200 @@ -4,7 +4,7 @@ "license": "MIT", "require": { "php": ">=5.5.9", - "symfony/console": "^3.0 || ^2.6" + "symfony/console": "^4.0 || ^3.0 || ^2.6" }, "require-dev": { "phpunit/phpunit": "^5.0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/platformsh/console-form/composer.lock new/vendor/platformsh/console-form/composer.lock --- old/vendor/platformsh/console-form/composer.lock 2018-03-20 20:18:47.000000000 +0100 +++ new/vendor/platformsh/console-form/composer.lock 2018-09-09 22:47:21.000000000 +0200 @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "b703d36e6e57c2ed47336160ef824e29", + "content-hash": "e1855fcc99cb8c6e02aea50541cb23a6", "packages": [ { "name": "psr/log", @@ -55,44 +55,45 @@ }, { "name": "symfony/console", - "version": "v3.3.9", + "version": "v3.4.7", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "a1e1b01293a090cb9ae2ddd221a3251a4a7e4abf" + "reference": "d4bb70fa24d540c309d88a9d6e43fb2d339b1fbf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/a1e1b01293a090cb9ae2ddd...", - "reference": "a1e1b01293a090cb9ae2ddd221a3251a4a7e4abf", + "url": "https://api.github.com/repos/symfony/console/zipball/d4bb70fa24d540c309d88a9...", + "reference": "d4bb70fa24d540c309d88a9d6e43fb2d339b1fbf", "shasum": "" }, "require": { "php": "^5.5.9|>=7.0.8", - "symfony/debug": "~2.8|~3.0", + "symfony/debug": "~2.8|~3.0|~4.0", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symfony/dependency-injection": "<3.3" + "symfony/dependency-injection": "<3.4", + "symfony/process": "<3.3" }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~3.3", - "symfony/dependency-injection": "~3.3", - "symfony/event-dispatcher": "~2.8|~3.0", - "symfony/filesystem": "~2.8|~3.0", - "symfony/process": "~2.8|~3.0" + "symfony/config": "~3.3|~4.0", + "symfony/dependency-injection": "~3.4|~4.0", + "symfony/event-dispatcher": "~2.8|~3.0|~4.0", + "symfony/lock": "~3.4|~4.0", + "symfony/process": "~3.3|~4.0" }, "suggest": { "psr/log": "For using the console logger", "symfony/event-dispatcher": "", - "symfony/filesystem": "", + "symfony/lock": "", "symfony/process": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.3-dev" + "dev-master": "3.4-dev" } }, "autoload": { @@ -119,20 +120,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2017-09-06T16:40:18+00:00" + "time": "2018-04-03T05:22:50+00:00" }, { "name": "symfony/debug", - "version": "v3.3.9", + "version": "v3.4.7", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "8beb24eec70b345c313640962df933499373a944" + "reference": "9cf7c2271cfb89ef9727db1b740ca77be57bf9d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/8beb24eec70b345c313640962...", - "reference": "8beb24eec70b345c313640962df933499373a944", + "url": "https://api.github.com/repos/symfony/debug/zipball/9cf7c2271cfb89ef9727db1b7...", + "reference": "9cf7c2271cfb89ef9727db1b740ca77be57bf9d7", "shasum": "" }, "require": { @@ -143,12 +144,12 @@ "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" }, "require-dev": { - "symfony/http-kernel": "~2.8|~3.0" + "symfony/http-kernel": "~2.8|~3.0|~4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.3-dev" + "dev-master": "3.4-dev" } }, "autoload": { @@ -175,20 +176,20 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2017-09-01T13:23:39+00:00" + "time": "2018-04-03T05:22:50+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.5.0", + "version": "v1.7.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803" + "reference": "78be803ce01e55d3491c1397cf1c64beb9c1b63b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7c8fae0ac1d21...", - "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/78be803ce01e5...", + "reference": "78be803ce01e55d3491c1397cf1c64beb9c1b63b", "shasum": "" }, "require": { @@ -200,7 +201,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.5-dev" + "dev-master": "1.7-dev" } }, "autoload": { @@ -234,7 +235,7 @@ "portable", "shim" ], - "time": "2017-06-14T15:44:48+00:00" + "time": "2018-01-30T19:27:44+00:00" } ], "packages-dev": [ @@ -294,37 +295,40 @@ }, { "name": "myclabs/deep-copy", - "version": "1.6.1", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102" + "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8e6e04167378abf1ddb4d3...", - "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac27...", + "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", "shasum": "" }, "require": { - "php": ">=5.4.0" + "php": "^5.6 || ^7.0" }, "require-dev": { - "doctrine/collections": "1.*", - "phpunit/phpunit": "~4.1" + "doctrine/collections": "^1.0", + "doctrine/common": "^2.6", + "phpunit/phpunit": "^4.1" }, "type": "library", "autoload": { "psr-4": { "DeepCopy\\": "src/DeepCopy/" - } + }, + "files": [ + "src/DeepCopy/deep_copy.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "description": "Create deep copies (clones) of your objects", - "homepage": "https://github.com/myclabs/DeepCopy", "keywords": [ "clone", "copy", @@ -332,7 +336,7 @@ "object", "object graph" ], - "time": "2017-04-12T18:52:22+00:00" + "time": "2017-10-19T19:58:43+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -390,22 +394,22 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "3.2.2", + "version": "3.3.2", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "4aada1f93c72c35e22fb1383b47fee43b8f1d157" + "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/4aada1...", - "reference": "4aada1f93c72c35e22fb1383b47fee43b8f1d157", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/bf329f...", + "reference": "bf329f6c1aadea3299f08ee804682b7c45b326a2", "shasum": "" }, "require": { - "php": ">=5.5", - "phpdocumentor/reflection-common": "^1.0@dev", - "phpdocumentor/type-resolver": "^0.3.0", + "php": "^5.6 || ^7.0", + "phpdocumentor/reflection-common": "^1.0.0", + "phpdocumentor/type-resolver": "^0.4.0", "webmozart/assert": "^1.0" }, "require-dev": { @@ -431,20 +435,20 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2017-08-08T06:39:58+00:00" + "time": "2017-11-10T14:09:06+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "0.3.0", + "version": "0.4.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "fb3933512008d8162b3cdf9e18dba9309b7c3773" + "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/fb3933512008...", - "reference": "fb3933512008d8162b3cdf9e18dba9309b7c3773", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c9777089959...", + "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7", "shasum": "" }, "require": { @@ -478,20 +482,20 @@ "email": "me@mikevanriel.com" } ], - "time": "2017-06-03T08:32:36+00:00" + "time": "2017-07-14T14:27:02+00:00" }, { "name": "phpspec/prophecy", - "version": "v1.7.2", + "version": "1.7.5", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6" + "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/c9b8c6088acd19d769d4cc...", - "reference": "c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/dfd6be44111a7c41c2e884...", + "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401", "shasum": "" }, "require": { @@ -503,7 +507,7 @@ }, "require-dev": { "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8 || ^5.6.5" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" }, "type": "library", "extra": { @@ -541,7 +545,7 @@ "spy", "stub" ], - "time": "2017-09-04T11:05:03+00:00" + "time": "2018-02-19T10:16:54+00:00" }, { "name": "phpunit/php-code-coverage", @@ -608,16 +612,16 @@ }, { "name": "phpunit/php-file-iterator", - "version": "1.4.2", + "version": "1.4.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5" + "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc...", - "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730...", + "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", "shasum": "" }, "require": { @@ -651,7 +655,7 @@ "filesystem", "iterator" ], - "time": "2016-10-03T07:40:28+00:00" + "time": "2017-11-27T13:52:08+00:00" }, { "name": "phpunit/php-text-template", @@ -745,16 +749,16 @@ }, { "name": "phpunit/php-token-stream", - "version": "1.4.11", + "version": "1.4.12", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7" + "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f...", - "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce9...", + "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16", "shasum": "" }, "require": { @@ -790,20 +794,20 @@ "keywords": [ "tokenizer" ], - "time": "2017-02-27T10:12:30+00:00" + "time": "2017-12-04T08:55:13+00:00" }, { "name": "phpunit/phpunit", - "version": "5.7.21", + "version": "5.7.27", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3b91adfb64264ddec5a2dee9851f354aa66327db" + "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3b91adfb64264...", - "reference": "3b91adfb64264ddec5a2dee9851f354aa66327db", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b7803aeca3ccb...", + "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c", "shasum": "" }, "require": { @@ -827,8 +831,8 @@ "sebastian/global-state": "^1.1", "sebastian/object-enumerator": "~2.0", "sebastian/resource-operations": "~1.0", - "sebastian/version": "~1.0.3|~2.0", - "symfony/yaml": "~2.1|~3.0" + "sebastian/version": "^1.0.6|^2.0.1", + "symfony/yaml": "~2.1|~3.0|~4.0" }, "conflict": { "phpdocumentor/reflection-docblock": "3.0.2" @@ -872,7 +876,7 @@ "testing", "xunit" ], - "time": "2017-06-21T08:11:54+00:00" + "time": "2018-02-01T05:50:59+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -1448,23 +1452,26 @@ }, { "name": "symfony/yaml", - "version": "v3.3.9", + "version": "v3.4.7", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "1d8c2a99c80862bdc3af94c1781bf70f86bccac0" + "reference": "a42f9da85c7c38d59f5e53f076fe81a091f894d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/1d8c2a99c80862bdc3af94c178...", - "reference": "1d8c2a99c80862bdc3af94c1781bf70f86bccac0", + "url": "https://api.github.com/repos/symfony/yaml/zipball/a42f9da85c7c38d59f5e53f076...", + "reference": "a42f9da85c7c38d59f5e53f076fe81a091f894d0", "shasum": "" }, "require": { "php": "^5.5.9|>=7.0.8" }, + "conflict": { + "symfony/console": "<3.4" + }, "require-dev": { - "symfony/console": "~2.8|~3.0" + "symfony/console": "~3.4|~4.0" }, "suggest": { "symfony/console": "For validating YAML files using the lint command" @@ -1472,7 +1479,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.3-dev" + "dev-master": "3.4-dev" } }, "autoload": { @@ -1499,20 +1506,20 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2017-07-29T21:54:42+00:00" + "time": "2018-04-03T05:14:20+00:00" }, { "name": "webmozart/assert", - "version": "1.2.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f" + "reference": "0df1908962e7a3071564e857d86874dad1ef204a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152...", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f", + "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e8...", + "reference": "0df1908962e7a3071564e857d86874dad1ef204a", "shasum": "" }, "require": { @@ -1549,7 +1556,7 @@ "check", "validate" ], - "time": "2016-11-23T20:04:58+00:00" + "time": "2018-01-29T19:49:41+00:00" } ], "aliases": [], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/platformsh/console-form/src/Field/Field.php new/vendor/platformsh/console-form/src/Field/Field.php --- old/vendor/platformsh/console-form/src/Field/Field.php 2018-03-20 20:18:47.000000000 +0100 +++ new/vendor/platformsh/console-form/src/Field/Field.php 2018-09-09 22:47:21.000000000 +0200 @@ -154,6 +154,16 @@ protected $conditions = []; /** + * Array keys, under which the value of this field should be returned. + * + * For example, keys of ['foo', 'bar'] would result in the form returning + * this field's value under $values['foo']['bar']. + * + * @var string[] + */ + protected $valueKeys = []; + + /** * Constructor. * * @param string $name @@ -200,6 +210,16 @@ } /** + * Get keys under which this field's value will be returned. + * + * @return string[] + */ + public function getValueKeys() + { + return $this->valueKeys; + } + + /** * Get the field's conditions. * * @return array diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/platformsh/console-form/src/Field/OptionsField.php new/vendor/platformsh/console-form/src/Field/OptionsField.php --- old/vendor/platformsh/console-form/src/Field/OptionsField.php 2018-03-20 20:18:47.000000000 +0100 +++ new/vendor/platformsh/console-form/src/Field/OptionsField.php 2018-09-09 22:47:21.000000000 +0200 @@ -130,6 +130,7 @@ */ public function onChange(array $previousValues) { + parent::onChange($previousValues); if (isset($this->optionsCallback)) { $callback = $this->optionsCallback; $this->options = $callback($previousValues); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/platformsh/console-form/src/Form.php new/vendor/platformsh/console-form/src/Form.php --- old/vendor/platformsh/console-form/src/Form.php 2018-03-20 20:18:47.000000000 +0100 +++ new/vendor/platformsh/console-form/src/Form.php 2018-09-09 22:47:21.000000000 +0200 @@ -129,7 +129,12 @@ throw new MissingValueException('--' . $field->getOptionName() . ' is required'); } - $values[$key] = $field->getFinalValue($value); + self::setNestedArrayValue( + $values, + $field->getValueKeys() ?: [$key], + $field->getFinalValue($value), + true + ); } return $values; @@ -156,4 +161,28 @@ return true; } + + /** + * Set a nested value in an array. + * + * @see Copied from \Drupal\Component\Utility\NestedArray::setValue() + * + * @param array &$array + * @param array $parents + * @param mixed $value + * @param bool $force + */ + public static function setNestedArrayValue(array &$array, array $parents, $value, $force = false) + { + $ref = &$array; + foreach ($parents as $parent) { + // PHP auto-creates container arrays and NULL entries without error if $ref + // is NULL, but throws an error if $ref is set, but not an array. + if ($force && isset($ref) && !is_array($ref)) { + $ref = []; + } + $ref = &$ref[$parent]; + } + $ref = $value; + } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/platformsh/console-form/tests/FormTest.php new/vendor/platformsh/console-form/tests/FormTest.php --- old/vendor/platformsh/console-form/tests/FormTest.php 2018-03-20 20:18:47.000000000 +0100 +++ new/vendor/platformsh/console-form/tests/FormTest.php 2018-09-09 22:47:21.000000000 +0200 @@ -64,6 +64,16 @@ 'optionName' => 'array', 'required' => false, ]), + 'custom_value_keys1' => new BooleanField('Field with custom value keys 1', [ + 'optionName' => 'custom-keys-1', + 'default' => false, + 'valueKeys' => ['foo1'], + ]), + 'custom_value_keys2' => new BooleanField('Field with custom value keys 2', [ + 'optionName' => 'custom-keys-2', + 'default' => true, + 'valueKeys' => ['foo2', 'bar'], + ]), ]; $this->form = Form::fromArray($this->fields); $this->validResult = [ @@ -73,6 +83,8 @@ 'array' => [], 'with_default' => 'defaultValue', 'with_dynamic_default' => $this->validString, + 'foo1' => false, + 'foo2' => ['bar' => true], ]; }
participants (1)
-
root