@@ -34,14 +34,14 @@ |
||
34 | 34 | 'format', |
35 | 35 | null, |
36 | 36 | InputOption::VALUE_OPTIONAL, |
37 | - 'Output Format. One of [' . implode(',', RendererFactory::getFormats()) . ']' |
|
37 | + 'Output Format. One of ['.implode(',', RendererFactory::getFormats()).']' |
|
38 | 38 | ) |
39 | 39 | ; |
40 | 40 | } |
41 | 41 | |
42 | 42 | protected function isTagFiltered($metaData, $input) |
43 | 43 | { |
44 | - return (bool) count(array_intersect($metaData['tags'], explode(',', $input->getOption('filter-tag')))); |
|
44 | + return (bool)count(array_intersect($metaData['tags'], explode(',', $input->getOption('filter-tag')))); |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | /** |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | |
70 | 70 | $workingDirectory = getcwd(); |
71 | 71 | $magentoRootFolder = $this->getApplication()->getMagentoRootFolder(); |
72 | - $cacheDir = $magentoRootFolder . '/var/cache'; |
|
72 | + $cacheDir = $magentoRootFolder.'/var/cache'; |
|
73 | 73 | |
74 | 74 | $output->writeln(sprintf('<info>Flushing cache directory <comment>%s</comment></info>', $cacheDir)); |
75 | 75 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | foreach ($dir as $file => $info) { |
95 | 95 | if ($info->isDir()) { |
96 | 96 | $this->verbose( |
97 | - '<debug>Filesystem::recursiveRemoveDirectory() <comment>' . $file . '</comment></debug>' |
|
97 | + '<debug>Filesystem::recursiveRemoveDirectory() <comment>'.$file.'</comment></debug>' |
|
98 | 98 | ); |
99 | 99 | if (!isset($fs)) { |
100 | 100 | $fs = new Filesystem(); |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | $errors[] = $file; |
104 | 104 | }; |
105 | 105 | } else { |
106 | - $this->verbose('<debug>unlink() <comment>' . $file . '</comment></debug>'); |
|
106 | + $this->verbose('<debug>unlink() <comment>'.$file.'</comment></debug>'); |
|
107 | 107 | if (!unlink($file)) { |
108 | 108 | $errors[] = $file; |
109 | 109 | } |
@@ -54,7 +54,7 @@ |
||
54 | 54 | if (count($typesToClean) == 0 || in_array($type, $typesToClean)) { |
55 | 55 | \Mage::app()->getCacheInstance()->cleanType($type); |
56 | 56 | \Mage::dispatchEvent('adminhtml_cache_refresh_type', array('type' => $type)); |
57 | - $output->writeln('<info>Cache <comment>' . $type . '</comment> cleaned</info>'); |
|
57 | + $output->writeln('<info>Cache <comment>'.$type.'</comment> cleaned</info>'); |
|
58 | 58 | } |
59 | 59 | } |
60 | 60 |
@@ -53,7 +53,7 @@ |
||
53 | 53 | $cacheTypes = $this->_getCacheModel()->getTypes(); |
54 | 54 | foreach ($codes as $cacheCode) { |
55 | 55 | if (!array_key_exists($cacheCode, $cacheTypes)) { |
56 | - throw new InvalidArgumentException('Invalid cache type: ' . $cacheCode); |
|
56 | + throw new InvalidArgumentException('Invalid cache type: '.$cacheCode); |
|
57 | 57 | } |
58 | 58 | } |
59 | 59 | } |
@@ -41,7 +41,7 @@ |
||
41 | 41 | |
42 | 42 | if (count($codeArgument) > 0) { |
43 | 43 | foreach ($codeArgument as $code) { |
44 | - $output->writeln('<info>Cache <comment>' . $code . '</comment> disabled</info>'); |
|
44 | + $output->writeln('<info>Cache <comment>'.$code.'</comment> disabled</info>'); |
|
45 | 45 | } |
46 | 46 | } else { |
47 | 47 | $output->writeln('<info>Caches disabled</info>'); |
@@ -33,7 +33,7 @@ |
||
33 | 33 | |
34 | 34 | if (count($codeArgument) > 0) { |
35 | 35 | foreach ($codeArgument as $code) { |
36 | - $output->writeln('<info>Cache <comment>' . $code . '</comment> enabled</info>'); |
|
36 | + $output->writeln('<info>Cache <comment>'.$code.'</comment> enabled</info>'); |
|
37 | 37 | } |
38 | 38 | } else { |
39 | 39 | $output->writeln('<info>Caches enabled</info>'); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | 'format', |
19 | 19 | null, |
20 | 20 | InputOption::VALUE_OPTIONAL, |
21 | - 'Output Format. One of [' . implode(',', RendererFactory::getFormats()) . ']' |
|
21 | + 'Output Format. One of ['.implode(',', RendererFactory::getFormats()).']' |
|
22 | 22 | ) |
23 | 23 | ; |
24 | 24 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | |
44 | 44 | /* @var $database DatabaseHelper */ |
45 | 45 | $database = $this->getHelper('database'); |
46 | - $exec = $mysqlClient . ' ' . $database->getMysqlClientToolConnectionString(); |
|
46 | + $exec = $mysqlClient.' '.$database->getMysqlClientToolConnectionString(); |
|
47 | 47 | |
48 | 48 | $pipes = array(); |
49 | 49 | $process = proc_open($exec, $descriptorSpec, $pipes); |
@@ -43,7 +43,7 @@ |
||
43 | 43 | } else { |
44 | 44 | $shouldDrop = $dialog->askConfirmation( |
45 | 45 | $output, |
46 | - '<question>Really drop database ' . $this->dbSettings['dbname'] . |
|
46 | + '<question>Really drop database '.$this->dbSettings['dbname']. |
|
47 | 47 | ' ?</question> <comment>[n]</comment>: ', |
48 | 48 | false |
49 | 49 | ); |