@@ -407,7 +407,7 @@ |
||
407 | 407 | $this->initMagento(); |
408 | 408 | } catch (\Exception $e) { |
409 | 409 | $message = 'Cannot initialize Magento. Please check your configuration. ' |
410 | - . 'Some n98-magerun command will not work. Got message: '; |
|
410 | + . 'Some n98-magerun command will not work. Got message: '; |
|
411 | 411 | if (OutputInterface::VERBOSITY_VERY_VERBOSE <= $output->getVerbosity()) { |
412 | 412 | $message .= $e->getTraceAsString(); |
413 | 413 | } else { |
@@ -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 | } |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | $this->_collection->addFieldToFilter( |
81 | 81 | 'scope', |
82 | 82 | array( |
83 | - 'eq' => $scopeId |
|
83 | + 'eq' => $scopeId |
|
84 | 84 | ) |
85 | 85 | ); |
86 | 86 | } |
@@ -190,9 +190,9 @@ discard block |
||
190 | 190 | foreach ($table as $row) { |
191 | 191 | $value = str_replace(array("\n", "\r"), array('\n', '\r'), $row['value']); |
192 | 192 | $line = 'config:set ' . $row['path'] |
193 | - . ' --scope-id=' . $row['scope_id'] |
|
194 | - . ' --scope=' . $row['scope'] |
|
195 | - . ' ' . escapeshellarg($value); |
|
193 | + . ' --scope-id=' . $row['scope_id'] |
|
194 | + . ' --scope=' . $row['scope'] |
|
195 | + . ' ' . escapeshellarg($value); |
|
196 | 196 | $output->writeln($line); |
197 | 197 | } |
198 | 198 | } |
@@ -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 | } |
@@ -18,16 +18,16 @@ discard block |
||
18 | 18 | |
19 | 19 | protected function configure() |
20 | 20 | { |
21 | - $this |
|
22 | - ->setName('dev:theme:list') |
|
23 | - ->setDescription('Lists all available themes') |
|
24 | - ->addOption( |
|
25 | - 'format', |
|
26 | - null, |
|
27 | - InputOption::VALUE_OPTIONAL, |
|
28 | - 'Output Format. One of [' . implode(',', RendererFactory::getFormats()) . ']' |
|
29 | - ) |
|
30 | - ; |
|
21 | + $this |
|
22 | + ->setName('dev:theme:list') |
|
23 | + ->setDescription('Lists all available themes') |
|
24 | + ->addOption( |
|
25 | + 'format', |
|
26 | + null, |
|
27 | + InputOption::VALUE_OPTIONAL, |
|
28 | + 'Output Format. One of [' . implode(',', RendererFactory::getFormats()) . ']' |
|
29 | + ) |
|
30 | + ; |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
@@ -38,11 +38,11 @@ discard block |
||
38 | 38 | $this->themeCollection = $themeCollection; |
39 | 39 | } |
40 | 40 | |
41 | - /** |
|
42 | - * @param \Symfony\Component\Console\Input\InputInterface $input |
|
43 | - * @param \Symfony\Component\Console\Output\OutputInterface $output |
|
44 | - * @return int|void |
|
45 | - */ |
|
41 | + /** |
|
42 | + * @param \Symfony\Component\Console\Input\InputInterface $input |
|
43 | + * @param \Symfony\Component\Console\Output\OutputInterface $output |
|
44 | + * @return int|void |
|
45 | + */ |
|
46 | 46 | protected function execute(InputInterface $input, OutputInterface $output) |
47 | 47 | { |
48 | 48 | $this->detectMagento($output); |
@@ -13,18 +13,18 @@ |
||
13 | 13 | { |
14 | 14 | protected function configure() |
15 | 15 | { |
16 | - $this |
|
17 | - ->setName('generation:flush') |
|
18 | - ->setDescription('Flushs generated code like factories and proxies') |
|
19 | - ->addArgument('vendorName', InputArgument::OPTIONAL, 'Vendor to remove like "Magento"') |
|
20 | - ; |
|
16 | + $this |
|
17 | + ->setName('generation:flush') |
|
18 | + ->setDescription('Flushs generated code like factories and proxies') |
|
19 | + ->addArgument('vendorName', InputArgument::OPTIONAL, 'Vendor to remove like "Magento"') |
|
20 | + ; |
|
21 | 21 | } |
22 | 22 | |
23 | - /** |
|
24 | - * @param \Symfony\Component\Console\Input\InputInterface $input |
|
25 | - * @param \Symfony\Component\Console\Output\OutputInterface $output |
|
26 | - * @return int|void |
|
27 | - */ |
|
23 | + /** |
|
24 | + * @param \Symfony\Component\Console\Input\InputInterface $input |
|
25 | + * @param \Symfony\Component\Console\Output\OutputInterface $output |
|
26 | + * @return int|void |
|
27 | + */ |
|
28 | 28 | protected function execute(InputInterface $input, OutputInterface $output) |
29 | 29 | { |
30 | 30 | $this->detectMagento($output); |