Skip to content

Commit 8248a66

Browse files
author
Sergii Kovalenko
committed
MAGETWO-91034: Renaming of new setup commands and setup:install/setup:upgrade attributes
1 parent 14ae834 commit 8248a66

File tree

5 files changed

+1
-112
lines changed

5 files changed

+1
-112
lines changed

lib/internal/Magento/Framework/Setup/Declaration/Schema/Diff/DiffInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
namespace Magento\Framework\Setup\Declaration\Schema\Diff;
88

99
use Magento\Framework\Setup\Declaration\Schema\Dto\ElementInterface;
10-
use Magento\Framework\Setup\Declaration\Schema\Dto\Schema;
11-
use Magento\Framework\Setup\Declaration\Schema\ElementHistory;
12-
use Magento\Framework\Setup\Declaration\Schema\Request;
1310

1411
/**
1512
* DiffInterface is type of classes, that holds all information

lib/internal/Magento/Framework/Setup/Declaration/Schema/Request.php

Lines changed: 0 additions & 45 deletions
This file was deleted.

lib/internal/Magento/Framework/Setup/Declaration/Schema/RequestFactory.php

Lines changed: 0 additions & 49 deletions
This file was deleted.

setup/src/Magento/Setup/Console/Command/InstallCommand.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Magento\Deploy\Console\Command\App\ConfigImportCommand;
1111
use Magento\Framework\Setup\Declaration\Schema\DryRunLogger;
1212
use Magento\Framework\Setup\Declaration\Schema\OperationsExecutor;
13-
use Magento\Framework\Setup\Declaration\Schema\Request;
1413
use Magento\Setup\Model\ConfigModel;
1514
use Magento\Setup\Model\InstallerFactory;
1615
use Magento\Framework\Setup\ConsoleLogger;
@@ -157,12 +156,6 @@ protected function configure()
157156
InputOption::VALUE_NONE,
158157
'Use sample data'
159158
),
160-
new InputOption(
161-
Request::DUMP_ENABLE_OPTIONS,
162-
null,
163-
InputOption::VALUE_REQUIRED,
164-
'Should removed columns be dumped or recovered columns data reverted.'
165-
),
166159
new InputOption(
167160
self::INPUT_KEY_ENABLE_MODULES,
168161
null,

setup/src/Magento/Setup/Console/Command/UpgradeCommand.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use Magento\Framework\Setup\ConsoleLogger;
1313
use Magento\Framework\Setup\Declaration\Schema\DryRunLogger;
1414
use Magento\Framework\Setup\Declaration\Schema\OperationsExecutor;
15-
use Magento\Framework\Setup\Declaration\Schema\Request;
1615
use Magento\Setup\Model\InstallerFactory;
1716
use Symfony\Component\Console\Input\ArrayInput;
1817
use Symfony\Component\Console\Input\InputInterface;
@@ -103,13 +102,7 @@ protected function configure()
103102
InputOption::VALUE_OPTIONAL,
104103
'Magento Installation will be run in dry-run mode',
105104
false
106-
),
107-
new InputOption(
108-
Request::DUMP_ENABLE_OPTIONS,
109-
null,
110-
InputOption::VALUE_REQUIRED,
111-
'Should removed columns be dumped or recovered columns data reverted.'
112-
),
105+
)
113106
];
114107
$this->setName('setup:upgrade')
115108
->setDescription('Upgrades the Magento application, DB data, and schema')

0 commit comments

Comments
 (0)