@@ -155,8 +155,8 @@ |
||
155 | 155 | $this->getApplication()->run($input, new NullOutput()); |
156 | 156 | |
157 | 157 | $comment = '<comment>' . $this->toggleComment . '</comment> ' |
158 | - . '<info>' . (!$isFalse ? $this->falseName : $this->trueName) . '</info>' |
|
159 | - . ($runOnStoreView ? ' <comment>for store</comment> <info>' . $store->getCode() . '</info>' : ''); |
|
158 | + . '<info>' . (!$isFalse ? $this->falseName : $this->trueName) . '</info>' |
|
159 | + . ($runOnStoreView ? ' <comment>for store</comment> <info>' . $store->getCode() . '</info>' : ''); |
|
160 | 160 | $output->writeln($comment); |
161 | 161 | |
162 | 162 | $this->_afterSave($store, $isFalse); |
@@ -82,7 +82,7 @@ |
||
82 | 82 | } |
83 | 83 | |
84 | 84 | $this->getHelper('table') |
85 | - ->setHeaders(array('Name', 'Type', 'Enabled')) |
|
86 | - ->renderByFormat($output, $tableData, $input->getOption('format')); |
|
85 | + ->setHeaders(array('Name', 'Type', 'Enabled')) |
|
86 | + ->renderByFormat($output, $tableData, $input->getOption('format')); |
|
87 | 87 | } |
88 | 88 | } |
@@ -63,7 +63,7 @@ |
||
63 | 63 | $collection->addFieldToFilter( |
64 | 64 | 'scope', |
65 | 65 | array( |
66 | - 'eq' => $scopeId |
|
66 | + 'eq' => $scopeId |
|
67 | 67 | ) |
68 | 68 | ); |
69 | 69 | } |
@@ -26,9 +26,9 @@ |
||
26 | 26 | $this->detectDbSettings($output); |
27 | 27 | |
28 | 28 | $descriptorSpec = array( |
29 | - 0 => STDIN, |
|
30 | - 1 => STDOUT, |
|
31 | - 2 => STDERR |
|
29 | + 0 => STDIN, |
|
30 | + 1 => STDOUT, |
|
31 | + 2 => STDERR |
|
32 | 32 | ); |
33 | 33 | |
34 | 34 | $exec = 'mysql ' . $this->getHelper('database')->getMysqlClientToolConnectionString(); |
@@ -89,8 +89,8 @@ discard block |
||
89 | 89 | } |
90 | 90 | |
91 | 91 | $observerConfig = $this->getObjectManager() |
92 | - ->get('\Magento\Framework\Event\Config\Reader') |
|
93 | - ->read($area); |
|
92 | + ->get('\Magento\Framework\Event\Config\Reader') |
|
93 | + ->read($area); |
|
94 | 94 | |
95 | 95 | if (true === $input->getOption('sort')) { |
96 | 96 | /** |
@@ -125,8 +125,8 @@ discard block |
||
125 | 125 | |
126 | 126 | // @todo Output is a bit ugly!? |
127 | 127 | $this->getHelper('table') |
128 | - ->setHeaders(['Event', 'Observer name', 'Fires']) |
|
129 | - ->setRows($table) |
|
130 | - ->renderByFormat($output, $table, $input->getOption('format')); |
|
128 | + ->setHeaders(['Event', 'Observer name', 'Fires']) |
|
129 | + ->setRows($table) |
|
130 | + ->renderByFormat($output, $table, $input->getOption('format')); |
|
131 | 131 | } |
132 | 132 | } |
@@ -44,8 +44,8 @@ |
||
44 | 44 | { |
45 | 45 | if (extension_loaded('xdebug') && xdebug_is_enabled() && ini_get('xdebug.max_nesting_level') < 200) { |
46 | 46 | $errorMessage = 'Please change PHP ini setting "xdebug.max_nesting_level". ' |
47 | - . 'Please change it to a value >= 200. ' |
|
48 | - . 'Your current value is ' . ini_get('xdebug.max_nesting_level'); |
|
47 | + . 'Please change it to a value >= 200. ' |
|
48 | + . 'Your current value is ' . ini_get('xdebug.max_nesting_level'); |
|
49 | 49 | throw new \RuntimeException($errorMessage); |
50 | 50 | } |
51 | 51 | } |
@@ -44,10 +44,10 @@ |
||
44 | 44 | protected function replaceHtaccessFile($baseUrl) |
45 | 45 | { |
46 | 46 | $htaccessFile = $this->config->getString('installationFolder') |
47 | - . DIRECTORY_SEPARATOR |
|
48 | - . 'pub' |
|
49 | - . DIRECTORY_SEPARATOR |
|
50 | - . '.htaccess'; |
|
47 | + . DIRECTORY_SEPARATOR |
|
48 | + . 'pub' |
|
49 | + . DIRECTORY_SEPARATOR |
|
50 | + . '.htaccess'; |
|
51 | 51 | |
52 | 52 | $this->_backupOriginalFile($htaccessFile); |
53 | 53 | $this->_replaceContent($htaccessFile, $baseUrl); |
@@ -28,10 +28,10 @@ |
||
28 | 28 | @chmod($varCacheFolder, 0777); |
29 | 29 | |
30 | 30 | $mediaFolder = $installationFolder |
31 | - . DIRECTORY_SEPARATOR |
|
32 | - . 'pub' |
|
33 | - . DIRECTORY_SEPARATOR |
|
34 | - . 'media'; |
|
31 | + . DIRECTORY_SEPARATOR |
|
32 | + . 'pub' |
|
33 | + . DIRECTORY_SEPARATOR |
|
34 | + . 'media'; |
|
35 | 35 | if (!is_dir($mediaFolder)) { |
36 | 36 | @mkdir($mediaFolder); |
37 | 37 | } |
@@ -151,32 +151,32 @@ |
||
151 | 151 | protected function addProductCount() |
152 | 152 | { |
153 | 153 | $this->infos['Product Count'] = $this->productFactory |
154 | - ->create() |
|
155 | - ->getCollection() |
|
156 | - ->getSize(); |
|
154 | + ->create() |
|
155 | + ->getCollection() |
|
156 | + ->getSize(); |
|
157 | 157 | } |
158 | 158 | |
159 | 159 | protected function addCustomerCount() |
160 | 160 | { |
161 | 161 | $this->infos['Customer Count'] = $this->customerFactory->create() |
162 | - ->getCollection() |
|
163 | - ->getSize(); |
|
162 | + ->getCollection() |
|
163 | + ->getSize(); |
|
164 | 164 | } |
165 | 165 | |
166 | 166 | protected function addCategoryCount() |
167 | 167 | { |
168 | 168 | $this->infos['Category Count'] = $this->categoryFactory |
169 | - ->create() |
|
170 | - ->getCollection() |
|
171 | - ->getSize(); |
|
169 | + ->create() |
|
170 | + ->getCollection() |
|
171 | + ->getSize(); |
|
172 | 172 | } |
173 | 173 | |
174 | 174 | protected function addAttributeCount() |
175 | 175 | { |
176 | 176 | $this->infos['Attribute Count'] = $this->attributeFactory |
177 | - ->create() |
|
178 | - ->getCollection() |
|
179 | - ->getSize(); |
|
177 | + ->create() |
|
178 | + ->getCollection() |
|
179 | + ->getSize(); |
|
180 | 180 | } |
181 | 181 | |
182 | 182 | protected function addCacheInfos() |