|
3 | 3 | * Copyright © 2016 Magento. All rights reserved.
|
4 | 4 | * See COPYING.txt for license details.
|
5 | 5 | */
|
6 |
| - |
7 | 6 | namespace Magento\Setup\Console\Command;
|
8 | 7 |
|
| 8 | +use Magento\Framework\ObjectManagerInterface; |
| 9 | +use Magento\Framework\Filesystem\DriverInterface; |
| 10 | +use Symfony\Component\Console\Input\InputInterface; |
| 11 | +use Symfony\Component\Console\Output\OutputInterface; |
9 | 12 | use Magento\Framework\Filesystem;
|
10 | 13 | use Magento\Framework\App\Filesystem\DirectoryList;
|
11 |
| -use Magento\Framework\Filesystem\DriverInterface; |
12 |
| -use Magento\Framework\ObjectManagerInterface; |
13 | 14 | use Magento\Framework\App\DeploymentConfig;
|
14 | 15 | use Magento\Framework\Component\ComponentRegistrar;
|
| 16 | +use Magento\Framework\Config\ConfigOptionsListConstants; |
15 | 17 | use Magento\Setup\Model\ObjectManagerProvider;
|
16 | 18 | use Magento\Setup\Module\Di\App\Task\Manager;
|
17 | 19 | use Magento\Setup\Module\Di\App\Task\OperationFactory;
|
18 | 20 | use Magento\Setup\Module\Di\App\Task\OperationException;
|
19 | 21 | use Magento\Setup\Module\Di\App\Task\OperationInterface;
|
20 | 22 | use Symfony\Component\Console\Command\Command;
|
21 | 23 | use Symfony\Component\Console\Helper\ProgressBar;
|
22 |
| -use Symfony\Component\Console\Input\InputInterface; |
23 |
| -use Symfony\Component\Console\Output\OutputInterface; |
24 | 24 |
|
25 | 25 | /**
|
26 | 26 | * Command to run compile in single-tenant mode
|
@@ -107,7 +107,7 @@ protected function configure()
|
107 | 107 | private function checkEnvironment()
|
108 | 108 | {
|
109 | 109 | $messages = [];
|
110 |
| - $config = $this->deploymentConfig->get(\Magento\Framework\Config\ConfigOptionsListConstants::KEY_MODULES); |
| 110 | + $config = $this->deploymentConfig->get(ConfigOptionsListConstants::KEY_MODULES); |
111 | 111 | if (!$config) {
|
112 | 112 | $messages[] = 'You cannot run this command because modules are not enabled. You can enable modules by'
|
113 | 113 | . ' running module:enable --all command.';
|
|
0 commit comments