Completed
Push — master ( 2454a8...540363 )
by Tom
15:51
created
src/N98/Magento/Command/OpenBrowserCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         if ($this->initMagento($output)) {
62 62
             $store = $this->getHelperSet()->get('parameter')->askStore($input, $output, 'store', true);
63 63
             if ($store->getId() == \Mage_Core_Model_App::ADMIN_STORE_ID) {
64
-                $adminFrontName = (string) \Mage::getConfig()->getNode('admin/routers/adminhtml/args/frontName');
64
+                $adminFrontName = (string)\Mage::getConfig()->getNode('admin/routers/adminhtml/args/frontName');
65 65
                 $url = rtrim($store->getBaseUrl(\Mage_Core_Model_Store::URL_TYPE_WEB), '/') . '/' . $adminFrontName;
66 66
             } else {
67 67
                 $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/MagentoConnect/ValidateExtensionCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
             $return = array();
132 132
             foreach ($files as $file) {
133 133
                 $path = $this->_getPathOfFileNodeToTarget($file);
134
-                $return[$path] = (string) $file['hash'];
134
+                $return[$path] = (string)$file['hash'];
135 135
             }
136 136
         }
137 137
 
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     protected function _getPathOfFileNodeToTarget(SimpleXMLElement $node, $path = '')
172 172
     {
173 173
         if ($node->getName() == 'target') {
174
-            return $this->_getBasePathFromTargetName((string) $node['name']) . $path;
174
+            return $this->_getBasePathFromTargetName((string)$node['name']) . $path;
175 175
         }
176 176
 
177 177
         $path   = '/' . $node['name'] . $path;
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     protected function getPathOfFileNodeToTarget($node, $path = '')
200 200
     {
201 201
         if ($node->getName() == 'target') {
202
-            return $this->_getBasePathFromTargetName((string) $node['name']) . $path;
202
+            return $this->_getBasePathFromTargetName((string)$node['name']) . $path;
203 203
         }
204 204
 
205 205
         $path = '/' . $node['name'] . $path;
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/InfoCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
             if (!isset($this->infos[$settingArgument])) {
93 93
                 throw new InvalidArgumentException('Unknown key: ' . $settingArgument);
94 94
             }
95
-            $output->writeln((string) $this->infos[$settingArgument]);
95
+            $output->writeln((string)$this->infos[$settingArgument]);
96 96
         } else {
97 97
             $this->getHelper('table')
98 98
                 ->setHeaders(array('name', 'value'))
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Check/Settings/BaseUrlCheckAbstract.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
         $errorMessage = 'Wrong hostname configured. <info>Hostname must contain a dot</info>';
34 34
 
35 35
         $host    = parse_url($baseUrl, PHP_URL_HOST);
36
-        $isValid = (bool) strstr($host, '.');
36
+        $isValid = (bool)strstr($host, '.');
37 37
         $result->setStatus($isValid);
38 38
         if ($isValid) {
39 39
             $result->setMessage(
Please login to merge, or discard this patch.
N98/Magento/Command/System/Check/Security/LocalConfigAccessableCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     {
21 21
         $result = $results->createResult();
22 22
         $filePath = 'app/etc/local.xml';
23
-        $defaultUnsecureBaseURL = (string) \Mage::getConfig()->getNode(
23
+        $defaultUnsecureBaseURL = (string)\Mage::getConfig()->getNode(
24 24
             'default/' . \Mage_Core_Model_Store::XML_PATH_UNSECURE_BASE_URL
25 25
         );
26 26
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Setup/AbstractSetupCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $resources      = \Mage::getConfig()->getNode('global/resources')->children();
27 27
 
28 28
         foreach ($resources as $resName => $resource) {
29
-            $modName = (string) $resource->setup->module;
29
+            $modName = (string)$resource->setup->module;
30 30
 
31 31
             if ($modName == $moduleName) {
32 32
                 $moduleSetups[$resName] = $resource;
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Setup/CompareVersionsCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -62,11 +62,11 @@
 block discarded – undo
62 62
             $errorCounter = 0;
63 63
             $table = array();
64 64
             foreach ($setups as $setupName => $setup) {
65
-                $moduleName     = (string) $setup->setup->module;
66
-                $moduleVersion  = (string) $modules->{$moduleName}->version;
67
-                $dbVersion      = (string) $resourceModel->getDbVersion($setupName);
65
+                $moduleName     = (string)$setup->setup->module;
66
+                $moduleVersion  = (string)$modules->{$moduleName}->version;
67
+                $dbVersion      = (string)$resourceModel->getDbVersion($setupName);
68 68
                 if (!$ignoreDataUpdate) {
69
-                    $dataVersion = (string) $resourceModel->getDataVersion($setupName);
69
+                    $dataVersion = (string)$resourceModel->getDataVersion($setupName);
70 70
                 }
71 71
                 $ok = $dbVersion == $moduleVersion;
72 72
                 if ($ok && !$ignoreDataUpdate) {
Please login to merge, or discard this patch.
src/N98/Magento/Command/Database/InfoCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
         $settings = array();
48 48
         foreach ($this->dbSettings as $key => $value) {
49
-            $settings[$key] = (string) $value;
49
+            $settings[$key] = (string)$value;
50 50
         }
51 51
 
52 52
         $isSocketConnect = $this->dbSettings->isSocketConnect();
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
             if (!isset($settings[$settingArgument])) {
100 100
                 throw new InvalidArgumentException('Unknown setting: ' . $settingArgument);
101 101
             }
102
-            $output->writeln((string) $settings[$settingArgument]);
102
+            $output->writeln((string)$settings[$settingArgument]);
103 103
         } else {
104 104
             $this->getHelper('table')
105 105
                 ->setHeaders(array('Name', 'Value'))
Please login to merge, or discard this patch.
src/N98/Magento/Command/Database/AbstractShowCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
      */
187 187
     protected function formatVariables(array $vars)
188 188
     {
189
-        $rounding = (int) $this->_input->getOption('rounding');
189
+        $rounding = (int)$this->_input->getOption('rounding');
190 190
         if ($rounding > -1) {
191 191
             foreach ($vars as $k => &$v) {
192 192
                 if (true === $this->allowRounding($k)) {
Please login to merge, or discard this patch.