Completed
Pull Request — develop (#813)
by Robbie
04:26
created
src/N98/Magento/Command/Cache/ReportCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,14 +34,14 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/N98/Magento/Command/Cache/Dir/FlushCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.
src/N98/Magento/Command/Cache/CleanCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/Cache/AbstractCacheCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/N98/Magento/Command/Cache/DisableCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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>');
Please login to merge, or discard this patch.
src/N98/Magento/Command/Cache/EnableCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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>');
Please login to merge, or discard this patch.
src/N98/Magento/Command/Cache/ListCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/N98/Magento/Command/Database/ConsoleCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/N98/Magento/Command/Database/DropCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
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
             );
Please login to merge, or discard this patch.