Completed
Push — master ( db44e7...3e1fbd )
by Tom
04:39
created
src/N98/Magento/Command/Developer/Setup/Script/AttributeCommand.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Ported attribute migration script from:
4
- *
5
- * https://github.com/astorm/Pulsestorm/blob/master/magento-create-setup.php
6
- * https://github.com/astorm/Pulsestorm/blob/2863201b19367d02483e01b1c03b54b979d87278/_trash/magento-create-setup.php
7
- *
8
- * It creates attribute script for existing attribute
9
- *
10
- * Originally created by Alan Storm
11
- *
12
- * @author Dusan Lukic <[email protected]>
13
- */
3
+     * Ported attribute migration script from:
4
+     *
5
+     * https://github.com/astorm/Pulsestorm/blob/master/magento-create-setup.php
6
+     * https://github.com/astorm/Pulsestorm/blob/2863201b19367d02483e01b1c03b54b979d87278/_trash/magento-create-setup.php
7
+     *
8
+     * It creates attribute script for existing attribute
9
+     *
10
+     * Originally created by Alan Storm
11
+     *
12
+     * @author Dusan Lukic <[email protected]>
13
+     */
14 14
 namespace N98\Magento\Command\Developer\Setup\Script;
15 15
 
16 16
 use Exception;
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Setup/IncrementalCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -260,8 +260,8 @@  discard block
 block discarded – undo
260 260
             $config_ver = $this->_getConfiguredVersionFromResourceObject($setupResource);
261 261
 
262 262
             if (
263
-                (string)$config_ver == (string)$db_ver && //structure
264
-                (string)$config_ver == (string)$db_data_ver //data
263
+                (string) $config_ver == (string) $db_ver && //structure
264
+                (string) $config_ver == (string) $db_data_ver //data
265 265
             ) {
266 266
                 continue;
267 267
             }
@@ -321,8 +321,8 @@  discard block
 block discarded – undo
321 321
 
322 322
             $args = array(
323 323
                 '',
324
-                (string)$dbVersion,
325
-                (string)$configVersion,
324
+                (string) $dbVersion,
325
+                (string) $configVersion,
326 326
             );
327 327
 
328 328
             $args[0] = $dbVersion
Please login to merge, or discard this patch.
src/N98/Magento/Command/Database/Maintain/CheckTablesCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
209 209
             array(
210 210
                 'table'     => $tableName,
211 211
                 'operation' => 'ENGINE ' . $engine,
212
-                'type'      => sprintf('%15s rows', (string)$affectedRows),
212
+                'type'      => sprintf('%15s rows', (string) $affectedRows),
213 213
                 'status'    => sprintf('%.3f secs', microtime(true) - $start),
214 214
             )
215 215
         );
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
@@ -258,7 +258,7 @@
 block discarded – undo
258 258
                         $definitions,
259 259
                         $resolved
260 260
                     );
261
-                    $resolvedList    = array_merge($resolvedList, $tables);
261
+                    $resolvedList = array_merge($resolvedList, $tables);
262 262
                 }
263 263
                 continue;
264 264
             }
Please login to merge, or discard this patch.
src/N98/Util/WindowsSystem.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * this file is part of magerun
4
- *
5
- * @author Tom Klingenberg <https://github.com/ktomk>
6
- */
3
+     * this file is part of magerun
4
+     *
5
+     * @author Tom Klingenberg <https://github.com/ktomk>
6
+     */
7 7
 namespace N98\Util;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.
src/N98/Magento/DbSettings.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * this file is part of magerun
4
- *
5
- * @author Tom Klingenberg <https://github.com/ktomk>
6
- */
3
+     * this file is part of magerun
4
+     *
5
+     * @author Tom Klingenberg <https://github.com/ktomk>
6
+     */
7 7
 namespace N98\Util;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.
src/N98/Magento/Command/Installer/InstallCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
 
241 241
             if ($input->getOption('magentoVersion')) {
242 242
                 $type = $input->getOption('magentoVersion');
243
-                if ($type !== (string)(int)$type) {
243
+                if ($type !== (string) (int) $type) {
244 244
                     $type = $this->getPackageNumberByName($type);
245 245
                 }
246 246
             } elseif ($input->getOption('magentoVersionByName')) {
@@ -277,8 +277,8 @@  discard block
 block discarded – undo
277 277
     private function getPackageNumberByName($name)
278 278
     {
279 279
         // directly filter integer strings
280
-        if ($name === (string)(int)$name) {
281
-            return (int)$name;
280
+        if ($name === (string) (int) $name) {
281
+            return (int) $name;
282 282
         }
283 283
 
284 284
         $magentoPackages = $this->commandConfig['magento-packages'];
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Check/Settings/CookieDomainCheckAbstract.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * this file is part of magerun
4
- *
5
- * @author Tom Klingenberg <https://github.com/ktomk>
6
- */
3
+     * this file is part of magerun
4
+     *
5
+     * @author Tom Klingenberg <https://github.com/ktomk>
6
+     */
7 7
 namespace N98\Util;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Check/Settings/BaseUrlCheckAbstract.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * this file is part of magerun
4
- *
5
- * @author Tom Klingenberg <https://github.com/ktomk>
6
- */
3
+     * this file is part of magerun
4
+     *
5
+     * @author Tom Klingenberg <https://github.com/ktomk>
6
+     */
7 7
 namespace N98\Util;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.