Completed
Push — develop ( a787a3...20155f )
by Tom
04:25
created
src/N98/Magento/Command/Database/Maintain/CheckTablesCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
                     )
149 149
                 )
150 150
             );
151
-            $tables         = $resolvedTables[0];
151
+            $tables = $resolvedTables[0];
152 152
         } else {
153 153
             $tables = $this->dbHelper->getTables();
154 154
         }
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
         return array(array(
209 209
             'table'     => $tableName,
210 210
             'operation' => 'ENGINE ' . $engine,
211
-            'type'      => sprintf('%15s rows', (string)$affectedRows),
211
+            'type'      => sprintf('%15s rows', (string) $affectedRows),
212 212
             'status'    => sprintf('%.3f secs', microtime(true) - $start),
213 213
         )
214 214
         );
Please login to merge, or discard this patch.
src/N98/Magento/Command/Cache/AbstractModifierCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         // Find out which types simply do not exist or are not affected by modifier
56 56
         $invalidTypes = array_diff($types, array_keys($this->getCacheTypes(!static::TARGET_IS_ENABLED)));
57 57
 
58
-        if (! empty($invalidTypes)) {
58
+        if (!empty($invalidTypes)) {
59 59
             $output->writeln(sprintf(static::INVALID_TYPES_MESSAGE, implode(', ', $invalidTypes)));
60 60
         }
61 61
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         }
69 69
 
70 70
         /** @var $cacheState \Magento\Framework\App\Cache\StateInterface */
71
-        $cacheState =  $this->getObjectManager()->get('\Magento\Framework\App\Cache\StateInterface');
71
+        $cacheState = $this->getObjectManager()->get('\Magento\Framework\App\Cache\StateInterface');
72 72
         $touchedTypes = [];
73 73
 
74 74
         try {
Please login to merge, or discard this patch.
tests/N98/Util/AutoloadRestorerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public function restoration()
29 29
     {
30
-        $callbackStub = function() {
30
+        $callbackStub = function () {
31 31
         };
32 32
 
33 33
         $this->assertTrue(spl_autoload_register($callbackStub));
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.
_ApplicationTest/Modules/test_dummy_module/src/TestModule/FooCommand.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -10,17 +10,17 @@
 block discarded – undo
10 10
 {
11 11
     protected function configure()
12 12
     {
13
-      $this
14
-          ->setName('testmodule:foo')
15
-          ->setDescription('Test command registered in a module')
16
-      ;
13
+        $this
14
+            ->setName('testmodule:foo')
15
+            ->setDescription('Test command registered in a module')
16
+        ;
17 17
     }
18 18
 
19
-   /**
20
-    * @param \Symfony\Component\Console\Input\InputInterface $input
21
-    * @param \Symfony\Component\Console\Output\OutputInterface $output
22
-    * @return int|void
23
-    */
19
+    /**
20
+     * @param \Symfony\Component\Console\Input\InputInterface $input
21
+     * @param \Symfony\Component\Console\Output\OutputInterface $output
22
+     * @return int|void
23
+     */
24 24
     protected function execute(InputInterface $input, OutputInterface $output)
25 25
     {
26 26
         $this->detectMagento($output);
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.