Completed
Push — develop ( 27dcf1...609d31 )
by Tom
09:41 queued 04:06
created
src/N98/Magento/Command/System/Cron/RunCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
         $jobConfig = $this->getJobConfig($jobCode);
50 50
 
51
-        if (empty($jobCode)|| !isset($jobConfig['instance'])) {
51
+        if (empty($jobCode) || !isset($jobConfig['instance'])) {
52 52
             throw new \InvalidArgumentException('No job config found!');
53 53
         }
54 54
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     protected function askJobCode(InputInterface $input, OutputInterface $output, $jobs)
107 107
     {
108 108
         foreach ($jobs as $key => $job) {
109
-            $question[] = '<comment>[' . ($key+1) . ']</comment> ' . $job['Job'] . PHP_EOL;
109
+            $question[] = '<comment>[' . ($key + 1) . ']</comment> ' . $job['Job'] . PHP_EOL;
110 110
         }
111 111
         $question[] = '<question>Please select job: </question>' . PHP_EOL;
112 112
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/Eav/Attribute/ViewCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,22 +79,22 @@
 block discarded – undo
79 79
             'BackendType' => array('Backend-Type'),
80 80
             'SourceModel' => array('Source-Model'),
81 81
             'CacheIdTags' => array('Cache-ID-Tags', function ($values) {
82
-                return implode(',', (array)$values);
82
+                return implode(',', (array) $values);
83 83
             }),
84 84
             'CacheTags' => array('Cache-Tags', function ($values) {
85
-                return implode(',', (array)$values);
85
+                return implode(',', (array) $values);
86 86
             }),
87 87
             'DefaultValue' => array('Default-Value'),
88 88
             'FlatColumns' => array(
89 89
                 'Flat-Columns',
90 90
                 function ($values) {
91
-                    return implode(',', array_keys((array)$values));
91
+                    return implode(',', array_keys((array) $values));
92 92
                 }
93 93
             ),
94 94
             'FlatIndexes' => array(
95 95
                 'Flat-Indexes',
96 96
                 function ($values) {
97
-                    return implode(',', array_keys((array)$values));
97
+                    return implode(',', array_keys((array) $values));
98 98
                 }
99 99
             )
100 100
         );
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/DatabaseHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -298,7 +298,7 @@
 block discarded – undo
298 298
                         $definitions,
299 299
                         $resolved
300 300
                     );
301
-                    $resolvedList    = array_merge($resolvedList, $tables);
301
+                    $resolvedList = array_merge($resolvedList, $tables);
302 302
                 }
303 303
                 continue;
304 304
             }
Please login to merge, or discard this patch.
src/N98/Magento/Application/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     public function __construct(array $initConfig = array(), $isPharMode = false, OutputInterface $output = null)
66 66
     {
67 67
         $this->initConfig = $initConfig;
68
-        $this->isPharMode = (bool)$isPharMode;
68
+        $this->isPharMode = (bool) $isPharMode;
69 69
         $this->output = $output ?: new NullOutput();
70 70
     }
71 71
 
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
      */
265 265
     private function getArray($key, $default = array())
266 266
     {
267
-        $result = $this->traverse((array)$key);
267
+        $result = $this->traverse((array) $key);
268 268
         if (null === $result) {
269 269
             return $default;
270 270
         }
Please login to merge, or discard this patch.