From df7fad827caa3ec4b5c25f582d6153f3f4016295 Mon Sep 17 00:00:00 2001
From: Satya Prakash
Date: Sat, 4 May 2019 16:41:52 +0530
Subject: [PATCH 1/2] Fixed:#22395
Fixed #22395: config:set -le and -lc short form options don't work
---
app/code/Magento/Config/Console/Command/ConfigSetCommand.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/code/Magento/Config/Console/Command/ConfigSetCommand.php b/app/code/Magento/Config/Console/Command/ConfigSetCommand.php
index cb79daddbf5f9..2e76e717ba36b 100644
--- a/app/code/Magento/Config/Console/Command/ConfigSetCommand.php
+++ b/app/code/Magento/Config/Console/Command/ConfigSetCommand.php
@@ -114,13 +114,13 @@ protected function configure()
),
new InputOption(
static::OPTION_LOCK_ENV,
- 'le',
+ 'e',
InputOption::VALUE_NONE,
'Lock value which prevents modification in the Admin (will be saved in app/etc/env.php)'
),
new InputOption(
static::OPTION_LOCK_CONFIG,
- 'lc',
+ 'c',
InputOption::VALUE_NONE,
'Lock and share value with other installations, prevents modification in the Admin '
. '(will be saved in app/etc/config.php)'
From 2e7c766b07b933e5fbcf38efdd6326b922262b16 Mon Sep 17 00:00:00 2001
From: Nazarn96
Date: Tue, 7 May 2019 10:27:21 +0300
Subject: [PATCH 2/2] magento/magento2#22720 static-test-fix
---
app/code/Magento/Config/Console/Command/ConfigSetCommand.php | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/app/code/Magento/Config/Console/Command/ConfigSetCommand.php b/app/code/Magento/Config/Console/Command/ConfigSetCommand.php
index 2e76e717ba36b..999d8e41af5bc 100644
--- a/app/code/Magento/Config/Console/Command/ConfigSetCommand.php
+++ b/app/code/Magento/Config/Console/Command/ConfigSetCommand.php
@@ -139,8 +139,10 @@ protected function configure()
/**
* Creates and run appropriate processor, depending on input options.
*
- * {@inheritdoc}
+ * @param InputInterface $input
+ * @param OutputInterface $output
* @since 100.2.0
+ * @return int|null
*/
protected function execute(InputInterface $input, OutputInterface $output)
{