Completed
Push — develop ( fc84c8...c2180f )
by Tom
04:41
created
src/N98/Magento/Command/System/Setup/CompareVersionsCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -65,11 +65,11 @@
 block discarded – undo
65 65
         $errorCounter = 0;
66 66
         $table = array();
67 67
         foreach ($setups as $setupName => $setup) {
68
-            $moduleName     = (string) $setup->setup->module;
69
-            $moduleVersion  = (string) $modules->{$moduleName}->version;
70
-            $dbVersion      = (string) $resourceModel->getDbVersion($setupName);
68
+            $moduleName     = (string)$setup->setup->module;
69
+            $moduleVersion  = (string)$modules->{$moduleName}->version;
70
+            $dbVersion      = (string)$resourceModel->getDbVersion($setupName);
71 71
             if (!$ignoreDataUpdate) {
72
-                $dataVersion = (string) $resourceModel->getDataVersion($setupName);
72
+                $dataVersion = (string)$resourceModel->getDataVersion($setupName);
73 73
             }
74 74
             $ok = $dbVersion == $moduleVersion;
75 75
             if ($ok && !$ignoreDataUpdate) {
Please login to merge, or discard this patch.
src/N98/Magento/Command/OpenBrowserCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
         $store = $this->getHelper('parameter')->askStore($input, $output, 'store', true);
65 65
         if ($store->getId() == \Mage_Core_Model_App::ADMIN_STORE_ID) {
66
-            $adminFrontName = (string) \Mage::getConfig()->getNode('admin/routers/adminhtml/args/frontName');
66
+            $adminFrontName = (string)\Mage::getConfig()->getNode('admin/routers/adminhtml/args/frontName');
67 67
             $url = rtrim($store->getBaseUrl(\Mage_Core_Model_Store::URL_TYPE_WEB), '/') . '/' . $adminFrontName;
68 68
         } else {
69 69
             $url = $store->getBaseUrl(\Mage_Core_Model_Store::URL_TYPE_LINK) . '?___store=' . $store->getCode();
Please login to merge, or discard this patch.
src/N98/Magento/Command/Config/SearchCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                         str_ireplace(
54 54
                             $searchString,
55 55
                             '<info>' . $searchString . '</info>',
56
-                            (string) $match->node->comment
56
+                            (string)$match->node->comment
57 57
                         )
58 58
                     );
59 59
                 }
@@ -119,14 +119,14 @@  discard block
 block discarded – undo
119 119
     {
120 120
         $match = new \stdClass;
121 121
         $match->type = $this->_getNodeType($node);
122
-        if (stristr((string) $node->label, $searchString)) {
122
+        if (stristr((string)$node->label, $searchString)) {
123 123
             $match->match_type = 'label';
124 124
             $match->node = $node;
125 125
 
126 126
             return $match;
127 127
         }
128 128
 
129
-        if (stristr((string) $node->comment, $searchString)) {
129
+        if (stristr((string)$node->comment, $searchString)) {
130 130
             $match->match_type = 'comment';
131 131
             $match->node = $node;
132 132
 
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
     {
209 209
         switch ($match->type) {
210 210
             case 'section':
211
-                return (string) $match->node->label . ' -> ... -> ...';
211
+                return (string)$match->node->label . ' -> ... -> ...';
212 212
 
213 213
             case 'field':
214 214
                 $parent = current($match->node->xpath('parent::*'));
Please login to merge, or discard this patch.